Windows Scheduler

Every wanted to run something on your machine at a specific time, perhaps when you are in bed ? This article shows you how to use the windows scheduler and get things to run when you are not using your machine.

 If you have been given access to scheduled task you will find it under the System Tools option in your start bar.

Location
Location

Once you have found it, click it and you will be presented with the following screen

Tasks
Tasks
This screen shows you what schedules you already have running. To add a new one you can click the “Add Scheduled Task” option
Add New task
Add New task
This will bring up the task wizard that will walk you through everything you need to do. To get onto the next screen click the next button. 
 
Select the program to run
Select the program to run
 
This screen brings up a list of all the programs that the Scheduler knows about. In our case we want to run a batch file that we had created earlier so we are going to click the browse button,
 
Browse to the batch file
Browse to the batch file
 
and navigate to the directory where our batch file is and click on it. Next we will click open and proceed to the next screen
 
Specify Name and Frequency
Specify Name and Frequency
 
On this screen we are asked to give our schedule a name and a frequency. In our case we are going to run the program once a day. If you don’t see the frequency that you like in this list, just choose daily and move on. There are some advanced options later that you can use to make some other choices.
 
What Time ?
What Time ?
 
Now we have the frequency of the schedule , we need to specify when it will run. Normal it is better to run things when the machine is not being used , so in this case we are going to run our file at 1 am in the morning when we are asleep. Click next to move to the next screen.
 
Run as who ?
Run as who ?
 
This screen allows us to setup who the System will run the script as. You will have to enter a user-name that has access to run the script. So you should first try your user-name and password and if that fails speak to your IT administrators and they should be able to fix up any issue you may have.
 
Advanced
Advanced
 
And there you have it, you have created your first schedule and you can now wait to see what happens. If you want to look at some advanced options you can put a tick in the check box to open up the screens.
 
Advanced Run
Advanced Run
On this screen we can see what file is running and perhaps add a comment to explain what the schedule is doing.
Advanced Schedule
Advanced Schedule
 
On the schedule tab we can change the time the schedule will run. To fine tune your schedule you can click the advanced option to get greater detail in when your task will run
 
Advanced Settings
Advanced Settings
 
The settings tab provides us with some general settings. You might want your script to only run when the system was not doing anything , so you could place a check in the idle time boxes and specify some minutes to say when things should and should not run.
 
Advanced security
Advanced security
 
The security tag allows you to add users to your script to allow them to run it.
 
All done
All done
 
And finaly we are back at the start. From this screen you can edit , delete and even run the job. To do any of this , single click the item and then do a right mouse click. This will bring up a menu system for you that exposes the required functionality.

Leave a Comment

%d bloggers like this: