Task Scheduler - make up for missed tasks?

  • Thread starter Thread starter Mario Reinhöfer
  • Start date Start date
M

Mario Reinhöfer

Win2k/XP: howto start/reschedule a task at system startup when the
normal start time of the task was during power-off?

Say: I planned a backup task every friday at 09:00 am, the customer
went at office at 01:00 pm and I'd like the task scheduler to start the
backup task when customer logs on.

Thanks in advance
Mario
 
Mario Reinhöfer said:
Win2k/XP: howto start/reschedule a task at system startup when the
normal start time of the task was during power-off?

Say: I planned a backup task every friday at 09:00 am, the customer
went at office at 01:00 pm and I'd like the task scheduler to start the
backup task when customer logs on.

Thanks in advance
Mario

You will have to write your own code to manage this, e.g. something
like this:
- When the backup job commences then it creates a semaphore file.
Place a time stamp inside in the form of dd/mm/yyyy hh:mm:ss.
- When the machine reboots then it calculates the number of seconds
that have elapsed since the time stamp in the semaphore file. If the
number is greater than 7x24x3600 then the job failed to run and
must be launched now. Make sure to place a time stamp of 09:00
from the previous Friday inside the semaphore file.
 
Back
Top