Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > task scheduler - exclude dates

Reply
Thread Tools Display Modes

task scheduler - exclude dates

 
 
Jeremy Schubert
Guest
Posts: n/a

 
      08-25-2008
I have a backup script that I'm gooing to run through task scheduler. I can
use TS to run the Mon backup script every Monday and the Tuesday....etc.
But I also have another task that runs a seperate backup at the end of each
month. So, can I easily program the Monday task, for example, to run all
Mondays except a specific Monday that turns out to be the last day of the
month? Or am I going to have to spend a little cash?
Thanks,
Jeremy

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      08-25-2008

"Jeremy Schubert" <> wrote in message
news:893581FD-7677-422D-A3D5-...
>I have a backup script that I'm gooing to run through task scheduler. I
>can use TS to run the Mon backup script every Monday and the
>Tuesday....etc.
> But I also have another task that runs a seperate backup at the end of
> each month. So, can I easily program the Monday task, for example, to run
> all Mondays except a specific Monday that turns out to be the last day of
> the month? Or am I going to have to spend a little cash?
> Thanks,
> Jeremy


You could do this:
- Schedule the every-day job to run at 10pm.
- Schedule the end-of-month job to run at 9pm.
- Get the end-of-month job to create a marker file.
- Get the every-day job to check for the existence of the marker file.
If the marker file exists, delete it and exit.
If the marker file does not exist, perform the backup.


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task scheduler - redundant settings "Enabled" and "Stop task if... TRG Windows Vista General Discussion 2 07-30-2009 02:09 AM
Task Scheduler job Hangs (rundll32 printui.dll,PrintUIEntry) Larry Bird Windows Server 3 10-05-2007 01:34 PM
Re: Problem in running the Task Scheduler for Windows Advanced Server 2003 After Logging Off Pegasus \(MVP\) Windows Server 2 03-01-2007 06:40 AM
RE: Problem in running the Task Scheduler for Windows Advanced Server Luc-A Windows Server 0 02-28-2007 01:39 PM
Something wrong with the windows 2003 task scheduler tr Windows Server 0 10-04-2004 09:00 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59