Not A Luddite
10-09-2001, 03:58 PM
I'd really appreciate a pointer here...
I'm running Apache on a w2k box on my home lan, and I've set up a few jobs to run at regular times (Analog, MySql backup, etc). These jobs run fine, but ONLY as long as the Task Scheduler window is open...
As soon as I close the window the jobs all stop telling me:
"whatever.job" (whatever.bat) 09/10/2001 05:00:00
** ERROR **
The attempt to log on to the account associated with the task failed, therefore, the task did not run.
The specific error is:
0x80070569: Logon failure: the user has not been granted the requested logon type at this computer.
Verify that the task's Run-as name and password are valid and try again.
Now, I've only got one active account (Administrator - yeah, yeah, I know... :rolleyes: ) and I set the pw an' stuff when I set the jobs. On re-opening Task Scheduler lo and behold there are no account details for the jobs.
If I set the jobs to use the System account they don't run at all (same error msg). If I reset the Admin account details for the jobs they run fine UNTIL I close the window :confused:
I guessed it was a file permission thing, tho' it doesn't matter whether I'm logged in locally or not. I don't run an automatic logout. Naturally, I've got full control over the batch files and their target dirs/files. Double-clicking the job runs it.
Then I guessed it was the drives shutting down overnight (box is on 24/7), so I changed the power settings, to no avail.
Tried using the 'AT' cmd, but it just creates an at.job in Task Scheduler. Same results.
BTW, I've searched the M$ kb for 3 hours, phoned mates and cursed the machines mother, all to no end.
Any help at all will be gratefully received and earn large kudos. I'm currently threatening it with a Linux disk....
I'm running Apache on a w2k box on my home lan, and I've set up a few jobs to run at regular times (Analog, MySql backup, etc). These jobs run fine, but ONLY as long as the Task Scheduler window is open...
As soon as I close the window the jobs all stop telling me:
"whatever.job" (whatever.bat) 09/10/2001 05:00:00
** ERROR **
The attempt to log on to the account associated with the task failed, therefore, the task did not run.
The specific error is:
0x80070569: Logon failure: the user has not been granted the requested logon type at this computer.
Verify that the task's Run-as name and password are valid and try again.
Now, I've only got one active account (Administrator - yeah, yeah, I know... :rolleyes: ) and I set the pw an' stuff when I set the jobs. On re-opening Task Scheduler lo and behold there are no account details for the jobs.
If I set the jobs to use the System account they don't run at all (same error msg). If I reset the Admin account details for the jobs they run fine UNTIL I close the window :confused:
I guessed it was a file permission thing, tho' it doesn't matter whether I'm logged in locally or not. I don't run an automatic logout. Naturally, I've got full control over the batch files and their target dirs/files. Double-clicking the job runs it.
Then I guessed it was the drives shutting down overnight (box is on 24/7), so I changed the power settings, to no avail.
Tried using the 'AT' cmd, but it just creates an at.job in Task Scheduler. Same results.
BTW, I've searched the M$ kb for 3 hours, phoned mates and cursed the machines mother, all to no end.
Any help at all will be gratefully received and earn large kudos. I'm currently threatening it with a Linux disk....