Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to schedule a backup task to run every week using the Windows XP Scheduler (Home Edition with SP 3).

I would like it to run every Saturday, but how can I make it not time-specific, so it will just run on Saturday when I turn my computer on (whatever time that may be)? As if I specify a specific start time (such as 10am) and I don't have my PC switched on then, the backup won't run for that week!

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I think this is not possible with the Windows XP task scheduler. The only way I could imagine is to schedule a task which is periodically. For example run it every Saturday each 30 minutes. Then instead of launching the backup directly you launch a script (e.g. CMD script). This script checks whether it has been run already on this Saturday. For example by putting a simple flag into any file. If it has been run already, then just skip execution. If it has not been run on this Saturday yet, then execute the backup.

Well. this is pretty inefficient though. Of course this check would run every x minutes just to do nothing except the first time it's run.

With Windows Vista/7/2008 there is an extended task scheduler available which also allows to configure a task to run as soon as possible after it has been missed. So scheduling it to Saturday morning 00:01 and enabling the "Run task as soon as possible after a scheduled start is missed" would run it either directly around midnight or immediately when the machine is turned on the first time on Saturday. Unfortunately I think this would also make it run on Sunday if you do not turn on the machine on Saturday at all.

Anyone having a better solution?

share|improve this answer
    
Many thanks for your answer. I thought that XP may not have this facility, but I just wanted to check to be sure I hadn't missed an option somewhere. –  Goto10 Jun 3 '11 at 16:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.