Creating a Scheduled Task in Windows

August 4th, 2009 by Roman Olynyk

Previously, I showed you how you can use AutoIt to create a simple script that will click through the gMigrate program. Once you have turned your script into an executable file, you can now tell Windows to run it at certain intervals. The following instructions assume that you are using Windows XP.

  1. In the Windows XP Control Panel, select the Scheduled Tasks command.
  2. With Scheduled Tasks open, double-click on the “Add Scheduled Task” icon, which should be at the top of the list of tasks.
    scheduled_tasks
  3. A Scheduled Task Wizard will appear; click Next> to continue.
  4. The Scheduled Task Wizard will display a list of programs from which you can select. Your automigrate program will not be in this list, so you must use the Browse command button to locate and select it.
  5. Once you have selected the program, the wizard will ask you to type in a name for the task, followed by a group of radio buttons for when you would like this task performed. I chose “Daily.”
    automigrate_sched
  6. After clicking Next> again, the Scheduled Task Wizard asks you to select the time and day when you would like the task to start. I’m configuring my task to run while I’m usually at work, so I chose a time in the morning after I’ve had a chance to settle in and possibly work with my calendar — say 9:30 a.m. Also, since I don’t normally work weekends, I can opt to run this task only on Weekdays.
    running_on_weekdays2
  7. The next dialog asks you to provide your username and password for you computer. When you have typed in that information, click the Next> button.
  8. The wizard will display a dialog box, which confirms when Windows will run this task. Notice that there’s a checkbox where you can “Open advanced properties for this task when I click Finish.” Select this checkbox, because it will allow you to set how often you want this task to run. As an added precaution, note that you can choose to stop the task if it is still running at the time you’ve selected.
    confirmation_dialog
  9. The Advanced Schedule Options let you set how many times a day you want the program to run.
    advanced_schedule
  10. Once you click the Apply button, your scheduled task will run under the conditions that you have set for it.

6 Responses

You can follow the comments for this article with the RSS 2.0 feed.

[...] « Creating a Scheduled Task in Windows [...]

Ohhh…Thanks I needed it..Thanks a lot..

2    Compute Live August 18, 2009 8:27 am

Thanks very much for creating a scheduled task in windows :)

3    Flash Header Design September 02, 2009 3:08 am

Great information in your post. Very useful and informative information.
Thanks

4    Mariyam September 04, 2009 8:48 am

This is really helpful thanks but would this work for vista as well?

5    Blaine September 05, 2009 7:17 am

This is great! Thanks! This is just one of those things inside Windows which most people tend to ignore but it can actually be quite useful!

6    Artful Dodger October 24, 2009 10:00 am

Comments

Visitors are welcome to contribute feedback. Please be aware that comments are moderated and any post that goes against our terms of service is subject to removal.

Most Recent Post

Favorable Online Tools

I thought it was time to share some free online tools this month. The list may help you with organization and give you a more productive work flow.
Open Atrium

Download the intranet package and there you go… you now have a blog, wiki, calendar, dashboard, to-do list, and shoutbox. You can read the how to on [...]

Content © Office of Information Technology Blog
Powered by WordPress
Log in

Entries (RSS)
Comments (RSS)

34 queries.
1.722 seconds.