Set scheduled task Windows 2008

This will be basic tutorial about how to set scheduled task in Windows 2008.

First go to the Administrative Tools – Task Schedule.

 

 

Windows 2008 Scheduled tasks location

 

Once opened, you will see the Task Scheduler window. If it is not something special, you can just create basic task on your Windows 2008. Just click on the link located at right filed under actions.

 

Create basic task in the task scheduler

 

The very first step will be to set scheduled task description :

 

new task description

 

The next one will be to choose scheduled task trigger :

Scheduled Task Trigger

Windows 2008 Task Scheduler has the following trigger options you can choose from: Daily, Weekly, Monthly, One time, When the computer starts, When I log on, When a specific event is logged. All of them are self-explainable so pick the one you need. In my case the scheduled task will be on daily basis.

windows 2008 scheduled task trigger

Choose the time-frame you want the task to be executed, and then click Next for the scheduled task action:

task action

I will start simple script which will restart IIS using “iisreset” command.Use the browse button to locate the application or the script you want to be scheduled.

execute command scheduled task

The next will be to finish the task setup.

finish task configurationHere you will see the task summary, and will add the task to the Windows 2008 task schedule .

Tags

Filed Under: MaintanceOperating SystemsServer ManagementWindowsWindows 2008 Server

Anthony Gee About the Author: Anthony G. is an IT specialist with more than 9 years of solid working experience in the Web Hosting industry. Currently works as server support administrator, involved in consultative discussions about Web Hosting and server administration. One of the first writers in the Onlinehowto.net website, now writing for Free Tutorials community - he is publishing tutorials and articles for the wide public, as well as specific technical solutions.

Comments (2)

  1. waakman says:

    I am using Windows 2008 Server. I want to schedule a task which should shutdown the Windows Server 2008 at specified time. How can I do this? Please help me.

    Sayed Waakman shah

    • Anthony Gee Anthony Gee says:

      Hi waakman,

      First create one shutdown.bat file which contains the following line:

      shutdown -s -f

      Then to shutdown your server at specific time, on the step ‘Action’ you choose start program, and there choose this shutdown.bat files.

      This should work fine.

Leave a Reply