Configuring cron job on Windows machines

These instructions are written for Windows XP but will be similar in case of other Windows systems.

Create a scheduled task:
Open Scheduler
Go to Start > Programs > Accessories > System Tools > Scheduled Tasks.
Double-click Add Scheduled Task.
The Scheduled Task Wizard will appear. Click Next.
Select the program to run. Choose your browser from the list (for example, Internet Explorer or Mozilla Firefox). Click Next.
Give a name to your task, for example “Helpdesk Pilot Cron Job” and select Daily. Click Next.
Choose specific Start time and select Every Day under Perform this task. When finished, click Next.
Enter your password if prompted. Change the username if required. Click Next.
On the final page, select the checkbox Open advanced properties for this task when I click Finish and click Finish.

Configuring the task:
Go to the task’s setting page either by checking the checkbox at the end of the last step, or by double-clicking on the task.
In the Run box, after the text that is there now (for example, C:PROGRA~1MOZILL~1firefox.exe), enter a space and then type the address to your mailpilot.php page in double quotations (for example, C:PROGRA~1MOZILL~1firefox.exe http://www.yourdomain.com/support/cron/mailpilot.php)
Click on Advanced button and select the check box “Repeat task” and every 3 minutes.
Select Duration as 0 hours 5 minutes
When all settings have been configured to your liking, click Apply and OK (note: you may be prompted for your password.

Command-line version
Another way to perform the above commands is by using the schtasks (or at in Windows 2000) command from the command line.
This can be done by following the below article.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx?mfr=true
Note: You can also use windows versions of WGET/CURL program instead of a browser.

Configuring cron job on Windows machines