Windows 2003 Task Scheduler

Posted on 2011-10-12
Last Modified: 2012-08-13
We use the Windows Task Scheduler on a Windows 2003 server to schedule a nightly reboot of the server before batch processing begins.  Ideally, we would not like to run the reboot task on the 1st night of the month but reboot it every other day of the month. Is there a way to schedule this within the Task Scheduler?
Question by:Blink1976
    LVL 12

    Accepted Solution

    I can think of a workaround, which would be to make the shutdown run to a 5-minute timer (shutdown -r -t 600) and then schedule another task to run a minute later on the first night of the month to cancel the shutdown (shutdown -a). Can't think of any way to make the Windows 2003 Task Scheduler do it itself though. Another option would be to make the shutdown task run a batch file which checks if it's the first day of the month and exits if so - message back if you'd like me to make an example of this.
    LVL 25

    Expert Comment

    by:Tony Giangreco
    You can create multiple tasks based on the timimg you need. We do this on multiple servers and it works well.
    LVL 9

    Expert Comment

    What you are asking is only possible through batch file as task schedular cant do this much for you.

    Featured Post

    Free book by J.Peter Bruzzese, Microsoft MVP

    Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

    Join & Write a Comment

    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
    In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now