Pegasus (MVP) said:
Paul Woodsford said:
WinXP sp2 fully updated. Task scheduler fails to start automatically.
Individual tasks will run if started manually, but not automatically.
Task
Scheduler is On.
Can anyone advise!!!!
--
Paul Woodsford
Remove NOSPAM to reply.
I'm a little confused. Here is what you wrote:
- Task scheduler fails to start automatically.
- Task Scheduler is On.
Now is it the Task Scheduler service that fails to start,
or is it the scheduled tasks that do not run? If it is the
latter, what are you trying to run and how do you know
that it failed to run?
It is 3 individual tasks that fail to run. 1. Creates an automatic System
Restore Point at 0420
2. System Restart at 0430
3. Spybot S&D scan at 0500
Under Task Scheduler-Advanced the Option to Switch Off or Pause Task
Scheduler is available so I presume it is Enabled.
The last run Time/Date for each operation does not update.
--
Paul Woodsford
Remove NOSPAM to reply.
Let's do something nice and simple for testing purposes:
Create a task that runs once every 10 minutes and that
invokes the batch file c:\TSTest.bat. Here is what's in
c:\TSTest.bat:
@echo off
echo %date% %time% %UserName% >> c:\TSTest.txt
Questions:
- Do you get any entries in c:\TSTest.txt?
- Are any entries missing? Which ones?
- Does your own scheduled task work or fail when
the test task works?
- What does the Task Scheduler log file report?
Thanks for your input Pegasus.
Have tracked the problem down.
Your test file worked fine, UNTIL the Monitor was switched OFF. I had
screensaver set to Blank after 10 minutes and Monitor set to Switch Off
after 40 minutes. The Task Scheduler worked fine until the Monitor switch
off.
Did a System Restore and everything is now OK.
Thanks anyway.
Thanks for the feedback. I note that there appears to be no
relationship between the original question you asked and the
solution you found. You first wrote "Individual tasks fail to start
automatically" [i.e. when scheduled], yet later you wrote that
my test task worked fine. Some contradictions there . . .
Not really. My tasks would run manually but not automatically once a day
starting in the early hours.
Your task ran manually and automatically every 10 minutes without fail. My
tasks would still not run automatically alongside yours. It would seem that
a new task would run but Not an old one. And before you ask I did delete my
tasks and recreate them they still wouldn't run automatically. Then I did
the System Restore.