Scheduled tasks do not run if skipped??? CRAP?

G

Guest

Hi,
I have a scheduled task to run once every month on Sunday at 9:00am. If the
computer happens to be powerd off the task never runs. How do I set the
configuration in windows scheduled tasks to run this task on the first time
the sytem is turned back on??? I don't want this to run everyday. But if it
skips the task I want it to run it once the machine is back on???
If there is no way to do it does anyone know of a 3rd party scheduler that
does this?? I am sure I am just missing something?
 
P

Pegasus \(MVP\)

Bryceum said:
Hi,
I have a scheduled task to run once every month on Sunday at 9:00am. If the
computer happens to be powerd off the task never runs. How do I set the
configuration in windows scheduled tasks to run this task on the first time
the sytem is turned back on??? I don't want this to run everyday. But if it
skips the task I want it to run it once the machine is back on???
If there is no way to do it does anyone know of a 3rd party scheduler that
does this?? I am sure I am just missing something?

You can do it yourself with a little bit of batch file
programming, using this logic:
1. Schedule the job to run once a month.
2. Get the job to create a semaphore file, e.g. "December2003.txt".
3. Schedule a further job to run at boot time.
4. Get this boot job to check for the existence of the
semaphore file for the current month. If it exists, go back to
sleep. If it does not exist, run the missed job.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top