Jump to content

Windows 2000 Scheduled Tasks


Recommended Posts

Recently batch files stopped executing properly as scheduled tasks on our windows 2000 sp4 server. The batch files work properly if executed manually. However, even running the scheduled task manually results in an exit code of 1. It would be greatly appreciated if anyone could help me overcome this headache! Thanks!

Link to comment
Share on other sites


Hi,

what does this batch exactly does?

Has the Job the right permissions to do what it's intended to do?

Does the Job needs a special working directory?

Please give us a little bit more information so that we can help you.

Bye, Egon

Link to comment
Share on other sites

I've included an excerpt from the scheduled tasks log file to show that only the batch files are failing to run to completion. Just for fun, I'll even include the batch file contents, but it's really unnecessary since the batch files work perfectly when they're executed outside of a scheduled task. Permissions are most likely not an issue since the batch files execute without a problem at the command line, and the console is logged in as Administrator. Thanks for your assistance in advance!

"sbdelete.job" (sbdelete.bat)

Started 6/28/2005 2:07:09 PM

"sbdelete.job" (sbdelete.bat)

Finished 6/28/2005 2:07:09 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/29/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/29/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 6/29/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 6/29/2005 6:02:16 AM

Result: The task completed with an exit code of (0).

mvshelby.bat contents:

rem @echo off

move /y C:\PROGRA~1\MICROS~3\MSSQL\BACKUP\*.bak P:\Shelby\SSV54.DAT\Backup

sbdelete.bat contents:

@echo off

p:

cd \shelby\ssv54.dat\backup

del *.bak

Link to comment
Share on other sites

I've just recently encountered the same problem with a batch file being run from task scheduler each midnight.

Runs okay from CLI, but from the scheduler I get an empty Status column, with a zero exit status (0x0). Last run time appears correct but nothing has been done.

Platform is also Win2K SP4. Ran fine for years (literally) and then about two weeks ago it just stopped.

The log in C:\WINNT\SchedLgU.txt tells me everything is fine :

"stats.job" (stats.bat)

Finished 29/06/2005 11:50:57 PM

Result: The task completed with an exit code of (0).

though quite clearly, it is not. :(

Edited by slig
Link to comment
Share on other sites

Scheduled Tasks Log

"sbdelete.job" (sbdelete.bat)

Started 7/6/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 7/6/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 7/6/2005 10:07:26 AM

"mvshelby.job" (mvshelby.bat)

Finished 7/6/2005 10:07:26 AM

Result: The task completed with an exit code of (1).

"sbdelete.job" (sbdelete.bat)

Started 7/6/2005 10:07:36 AM

"sbdelete.job" (sbdelete.bat)

Finished 7/6/2005 10:07:36 AM

Result: The task completed with an exit code of (1).

[ ***** Most recent entry is above this line ***** ]

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/25/2005 6:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/25/2005 6:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 6/25/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 6/25/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 6/25/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 6/25/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/25/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/25/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/25/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/25/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 6/25/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/25/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/26/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/26/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/26/2005 6:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/26/2005 6:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 6/26/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 6/26/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 6/26/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 6/26/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/26/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/26/2005 12:00:20 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/26/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/26/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 6/26/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/26/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/27/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/27/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/27/2005 6:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/27/2005 6:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 6/27/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 6/27/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 6/27/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 6/27/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/27/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/27/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/27/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/27/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 6/27/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/27/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/28/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/28/2005 12:00:20 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 6/28/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 6/28/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 6/28/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 6/28/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/28/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/28/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 2:07:06 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 2:07:06 PM

Result: The task completed with an exit code of (1).

"sbdelete.job" (sbdelete.bat)

Started 6/28/2005 2:07:09 PM

"sbdelete.job" (sbdelete.bat)

Finished 6/28/2005 2:07:09 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 2:58:11 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 2:58:11 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 2:58:25 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 2:58:25 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 4:41:36 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 4:41:36 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 4:46:25 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 4:46:25 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 4:47:16 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 4:47:16 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/28/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/28/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 6/28/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/28/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/29/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/29/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 6/29/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 6/29/2005 6:02:16 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 6/29/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 6/29/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/29/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/29/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"Task Scheduler Service"

Exited at 6/29/2005 2:13:55 PM

"Task Scheduler Service"

Started at 6/29/2005 2:15:59 PM

"Task Scheduler Service"

4.71.2195.6972"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/29/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/29/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 6/29/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/29/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/30/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/30/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 6/30/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 6/30/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 6/30/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 6/30/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/30/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/30/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 6/30/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 6/30/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 6/30/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 6/30/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/1/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/1/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 7/1/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 7/1/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 7/1/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 7/1/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/1/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/1/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/1/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/1/2005 6:00:20 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 7/1/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 7/1/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/2/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/2/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 7/2/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 7/2/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 7/2/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 7/2/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/2/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/2/2005 12:00:20 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/2/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/2/2005 6:00:20 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 7/2/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 7/2/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/3/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/3/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 7/3/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 7/3/2005 6:02:19 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 7/3/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 7/3/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/3/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/3/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/3/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/3/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 7/3/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 7/3/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/4/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/4/2005 12:00:21 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 7/4/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 7/4/2005 6:02:16 AM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 7/4/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 7/4/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/4/2005 12:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/4/2005 12:00:20 PM

Result: The task completed with an exit code of (0).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/4/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/4/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 7/4/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 7/4/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/5/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/5/2005 12:00:20 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 7/5/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 7/5/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 7/5/2005 9:12:13 AM

"mvshelby.job" (mvshelby.bat)

Finished 7/5/2005 9:12:13 AM

Result: The task completed with an exit code of (1).

"sbdelete.job" (sbdelete.bat)

Started 7/5/2005 9:30:00 AM

"sbdelete.job" (sbdelete.bat)

Finished 7/5/2005 9:30:00 AM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/5/2005 12:00:00 PM

"sbdelete.job" (sbdelete.bat)

Started 7/5/2005 12:00:13 PM

"sbdelete.job" (sbdelete.bat)

Finished 7/5/2005 12:00:13 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 7/5/2005 12:00:17 PM

"mvshelby.job" (mvshelby.bat)

Finished 7/5/2005 12:00:17 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/5/2005 12:00:21 PM

Result: The task completed with an exit code of (0).

"sbdelete.job" (sbdelete.bat)

Started 7/5/2005 12:00:25 PM

"sbdelete.job" (sbdelete.bat)

Finished 7/5/2005 12:00:25 PM

Result: The task completed with an exit code of (1).

"mvshelby.job" (mvshelby.bat)

Started 7/5/2005 4:35:32 PM

"mvshelby.job" (mvshelby.bat)

Finished 7/5/2005 4:35:32 PM

Result: The task completed with an exit code of (1).

"sbdelete.job" (sbdelete.bat)

Started 7/5/2005 4:35:35 PM

"sbdelete.job" (sbdelete.bat)

Finished 7/5/2005 4:35:35 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/5/2005 6:00:00 PM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/5/2005 6:00:21 PM

Result: The task completed with an exit code of (0).

"mvshelby.job" (mvshelby.bat)

Started 7/5/2005 11:50:00 PM

"mvshelby.job" (mvshelby.bat)

Finished 7/5/2005 11:50:00 PM

Result: The task completed with an exit code of (1).

"SuperDatFtp.job" (SuperDatFtp.vbs)

Started 7/6/2005 12:00:00 AM

"SuperDatFtp.job" (SuperDatFtp.vbs)

Finished 7/6/2005 12:00:22 AM

Result: The task completed with an exit code of (0).

"RestartSQL.job" (RestartSQL.cmd)

Started 7/6/2005 6:02:00 AM

"RestartSQL.job" (RestartSQL.cmd)

Finished 7/6/2005 6:02:15 AM

Result: The task completed with an exit code of (0).

Link to comment
Share on other sites

  • 2 years later...

I'm running into the same thing running a script that runs a program interactively (needed to execute a macro). Here's my schedlgu.txt:

"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/25/2007 1:58:06 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/25/2007 12:00:08 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/25/2007 12:00:41 PM
Result: The task completed with an exit code of (0).
"Defrag.job" (defrag) 7/25/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/25/2007 12:30:00 PM
"Defrag.job" (defrag)
Finished 7/25/2007 12:30:18 PM
Result: The task completed with an exit code of (0).
"Task Scheduler Service"
Started at 8/1/2007 10:16:47 AM
"Task Scheduler Service"
Exited at 8/1/2007 10:35:47 AM
"Task Scheduler Service"
Started at 8/1/2007 10:37:10 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 8/1/2007 10:57:05 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 8/1/2007 10:57:05 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 8/1/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 8/1/2007 12:00:48 PM
Result: The task completed with an exit code of (0).
"Defrag.job" (defrag) 8/1/2007 12:30:04 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 8/1/2007 12:30:04 PM
"Defrag.job" (defrag)
Finished 8/1/2007 12:32:02 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 8/2/2007 1:49:01 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 8/2/2007 1:49:02 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 8/2/2007 12:00:03 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 8/2/2007 12:00:49 PM
Result: The task completed with an exit code of (0).
"Defrag.job" (defrag) 8/2/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 8/2/2007 12:30:00 PM
"Defrag.job" (defrag)
Finished 8/2/2007 12:30:39 PM
Result: The task completed with an exit code of (0).
"export.job" (Karen-GM.bat)
Started 8/2/2007 2:08:43 PM
"export.job" (Karen-GM.bat)
Finished 8/2/2007 2:09:12 PM
Result: The task completed with an exit code of (1).
"export.job" (Karen-GM.bat)
Started 8/2/2007 2:09:17 PM
"export.job" (Karen-GM.bat)
Finished 8/2/2007 2:09:26 PM
Result: The task completed with an exit code of (1).
[ ***** Most recent entry is above this line ***** ]


"GM_Daily.job" (daily.bat)
Finished 7/13/2007 12:27:02 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/13/2007 12:29:00 PM
"Defrag.job" (defrag) 7/13/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/13/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/13/2007 12:30:00 PM
"Defrag.job" (defrag)
Finished 7/13/2007 12:31:24 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/14/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/14/2007 1:58:01 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/14/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/14/2007 12:00:42 PM
Result: The task completed with an exit code of (0).
"Defrag.job" (defrag) 7/14/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/14/2007 12:30:00 PM
"Defrag.job" (defrag)
Finished 7/14/2007 12:31:13 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/15/2007 1:58:17 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/15/2007 1:58:17 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/15/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/15/2007 12:00:38 PM
Result: The task completed with an exit code of (0).
"Defrag.job" (defrag) 7/15/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/15/2007 12:30:00 PM
"Defrag.job" (defrag)
Finished 7/15/2007 12:30:30 PM
Result: The task completed with an exit code of (0).
"GM_Kill.job" (kill_gold.bat) 7/15/2007 2:34:24 PM ** WARNING **
The task was forced to close since its execution time exceeded the configured maximum.
You may want to go to the Settings page and increase the "Stop the scheduled task after" time.
"GM_Kill.job" (kill_gold.bat) 7/15/2007 2:35:18 PM ** WARNING **
The task was forced to close since its execution time exceeded the configured maximum.
You may want to go to the Settings page and increase the "Stop the scheduled task after" time.
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/16/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/16/2007 1:58:00 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/16/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/16/2007 12:00:39 PM
Result: The task completed with an exit code of (0).
"GM_Kill.job" (kill_gold.bat) 7/16/2007 12:20:33 PM ** WARNING **
The task was forced to close since its execution time exceeded the configured maximum.
You may want to go to the Settings page and increase the "Stop the scheduled task after" time.
"GM_Daily.job" (daily.bat) 7/16/2007 12:28:32 PM ** WARNING **
The task was forced to close since its execution time exceeded the configured maximum.
You may want to go to the Settings page and increase the "Stop the scheduled task after" time.
"GM_Daily.job" (daily.bat)
Started 7/16/2007 12:29:00 PM
"GM_Daily.job" (daily.bat)
Finished 7/16/2007 12:29:00 PM
Result: The task completed with an exit code of (c0000006).
"GM_Kill.job" (kill_gold.bat) 7/16/2007 12:29:33 PM ** WARNING **
The task was forced to close since its execution time exceeded the configured maximum.
You may want to go to the Settings page and increase the "Stop the scheduled task after" time.
"Defrag.job" (defrag) 7/16/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/16/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/16/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/16/2007 12:30:00 PM
Result: The task completed with an exit code of (1).
"Defrag.job" (defrag)
Finished 7/16/2007 12:30:24 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/17/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/17/2007 1:58:00 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/17/2007 12:00:55 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/17/2007 12:01:31 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/17/2007 12:29:00 PM
"GM_Daily.job" (daily.bat)
Finished 7/17/2007 12:29:00 PM
Result: The task completed with an exit code of (c0000006).
"Defrag.job" (defrag) 7/17/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/17/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/17/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/17/2007 12:30:00 PM
Result: The task completed with an exit code of (1).
"Defrag.job" (defrag)
Finished 7/17/2007 12:30:19 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/18/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/18/2007 1:58:00 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/18/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/18/2007 12:00:36 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/18/2007 12:29:00 PM
"GM_Daily.job" (daily.bat)
Finished 7/18/2007 12:29:00 PM
Result: The task completed with an exit code of (c0000006).
"Defrag.job" (defrag) 7/18/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/18/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/18/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/18/2007 12:30:00 PM
Result: The task completed with an exit code of (1).
"Defrag.job" (defrag)
Finished 7/18/2007 12:30:25 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/19/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/19/2007 1:58:00 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/19/2007 12:00:05 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/19/2007 12:00:41 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/19/2007 12:29:00 PM
"GM_Daily.job" (daily.bat)
Finished 7/19/2007 12:29:00 PM
Result: The task completed with an exit code of (c0000006).
"Defrag.job" (defrag) 7/19/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/19/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/19/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/19/2007 12:30:00 PM
Result: The task completed with an exit code of (1).
"Defrag.job" (defrag)
Finished 7/19/2007 12:30:17 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/20/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/20/2007 1:58:00 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/20/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/20/2007 12:00:33 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/20/2007 12:29:00 PM
"GM_Daily.job" (daily.bat)
Finished 7/20/2007 12:29:01 PM
Result: The task completed with an exit code of (c0000006).
"Defrag.job" (defrag) 7/20/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/20/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/20/2007 12:30:09 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/20/2007 12:30:09 PM
Result: The task completed with an exit code of (1).
"Defrag.job" (defrag)
Finished 7/20/2007 12:30:25 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/21/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/21/2007 1:58:00 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/21/2007 12:01:22 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/21/2007 12:02:01 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/21/2007 12:29:04 PM
"GM_Daily.job" (daily.bat)
Finished 7/21/2007 12:29:04 PM
Result: The task completed with an exit code of (c0000006).
"Defrag.job" (defrag) 7/21/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/21/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/21/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/21/2007 12:30:00 PM
Result: The task completed with an exit code of (1).
"Defrag.job" (defrag)
Finished 7/21/2007 12:30:20 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/22/2007 1:58:02 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/22/2007 1:58:02 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/22/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/22/2007 12:00:36 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/22/2007 12:29:00 PM
"GM_Daily.job" (daily.bat)
Finished 7/22/2007 12:29:01 PM
Result: The task completed with an exit code of (c0000006).
"Defrag.job" (defrag) 7/22/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/22/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/22/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/22/2007 12:30:00 PM
Result: The task completed with an exit code of (1).
"Defrag.job" (defrag)
Finished 7/22/2007 12:30:19 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/23/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/23/2007 1:58:01 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/23/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/23/2007 12:00:27 PM
Result: The task completed with an exit code of (0).
"GM_Daily.job" (daily.bat)
Started 7/23/2007 12:29:00 PM
"Defrag.job" (defrag) 7/23/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/23/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Started 7/23/2007 12:30:00 PM
"GM_Kill.job" (kill_gold.bat)
Finished 7/23/2007 12:30:00 PM
Result: The task completed with an exit code of (1).
"GM_Daily.job" (daily.bat)
Finished 7/23/2007 12:30:02 PM
Result: The task completed with an exit code of (0).
"Defrag.job" (defrag)
Finished 7/23/2007 12:30:21 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/24/2007 1:58:00 AM
"MP Scheduled Scan.job" (MpCmdRun.exe)
Finished 7/24/2007 1:58:00 AM
Result: The task completed with an exit code of (0).
"Disk_Clean.job" (cleanmgr.exe)
Started 7/24/2007 12:00:00 PM
"Disk_Clean.job" (cleanmgr.exe)
Finished 7/24/2007 12:00:34 PM
Result: The task completed with an exit code of (0).
"Defrag.job" (defrag) 7/24/2007 12:30:00 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"Defrag.job" (defrag)
Started 7/24/2007 12:30:00 PM
"Defrag.job" (defrag)
Finished 7/24/2007 12:30:19 PM
Result: The task completed with an exit code of (0).
"MP Scheduled Scan.job" (MpCmdRun.exe)
Started 7/25/2007 1:58:06 AM

And my script:

net use g: /d
net use g: \\server1\goldmine
g:\gmw6.exe /u:jason /p:**** /m:825

The /m:825 executes the macro within Goldmine that I need to execute. I'm unable to execute this locally, or remotely with PSexec.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...