PDA

View Full Version : Windows Scheduler


powellm
04-21-2005, 05:30 PM
Hey Guys,
I'm writing a script to cause our machines in the Underground to reboot every night to run some maintenance tasks (all WinXP machines). The script creates a task in the Windows scheduler that runs using the local machine account. Problem is, the task doesn't run. The proper time comes, the task says its executing, and then says that it completed, but it isn't actually running. If I change the account that runs the task, it executes flawlessly. Any ideas as to whats going on (and please don't suggest a third party app, this has to be done through a .bat script).

dparm
04-21-2005, 08:06 PM
No errors are generated? Check the event log, even if it claims to be successful you could find something in there.

As for your account issue, which type of accounts do and don't run the script?

powellm
04-21-2005, 08:35 PM
The system account wont run it, any other account will.

dparm
04-21-2005, 11:06 PM
Can you elaborate on "system account"?