Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AT

Status
Not open for further replies.

mireles10

IS-IT--Management
Apr 26, 2004
18
US
Have a AT command scheduled (windows 2003)
when I run the AT command, it displays the following line:
AT 11:13 /every:m,t,w,th,f "d:\MyFile.bat"
so it is shceduled but it won't run it.
I tried different times but no luck
Any help will be greatly appreciated
 
In the Scheduled Tasks window (in the control pannel) click Advanced then View Log. What does it say in there (it's a rolling log file so you'll need to find the correct entry).

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
Donate to Katrina relief
 
Most of the log shows lines as follows
*************************
"At1.job" (c:\MyFile.bat)
Started 9/6/2005 10:30:00 PM
"At1.job" (c:\MyFile.bat)
Finished 9/6/2005 10:30:00 PM
Result: The task completed with an exit code of (ffffffff).
with an exit code of (ffffffff).
[ ***** Most recent entry is above this line ***** ]
 
What does the batch file do? Does it have access to everything it needs using the system account?

You may need to change the account that the scheduled task is run under. In the scheduled tasks folder click Advanced then AT Service Account. Change this to a valid Windows account on your domain with the rights needed to do what ever the bat files is trying to do.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
Donate to Katrina relief
 
try running the cmd file by first invoking a command prompt, like this: cmd.exe /c c:\FullPath\MyBatch.bat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top