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.
- In the Windows XP Control Panel, select the Scheduled Tasks command.
- With Scheduled Tasks open, double-click on the “Add Scheduled Task” icon, which should be at the top of the list of tasks.

- A Scheduled Task Wizard will appear; click Next> to continue.
- 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.
- 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.”

- 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.

- 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.
- 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.

- The Advanced Schedule Options let you set how many times a day you want the program to run.

- Once you click the Apply button, your scheduled task will run under the conditions that you have set for it.
[...] « Creating a Scheduled Task in Windows [...]