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).
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).