Using Windows Task Scheduler
You can schedule a script using Windows Task Scheduler 2.0. A desktop must already be opened when the scheduled task starts. You must exit the Task Scheduler window after having set up the task : if not, the task will not start at scheduled time.
Follow those steps for scheduling a WinTask script using Windows Task Scheduler:
Click the Windows Start button. Select All Programs/Accessories/System tools/Task Scheduler. Or in the Search box, type Task Scheduler and press Enter.
If the "User Account Control" dialog box comes up, click the Continue button.
The Task Scheduler main window is displayed:
In Actions pane on the right, click Create Task. The "Create Task" dialog box is displayed:
In Name field, type the name you want for the task that you are creating, let's call it "Notepad launch". Leave checked Run only when user is logged on if the script that you are scheduling uses interactive functions such as UseWindow, UsePage, ...
Click Actions Tab:
Click New... button in the Action Tab. The New Action dialog box is displayed. In Program/script field, click Browse... button and browse for the TaskExec.exe file (by default, it is under c:\program files (x86)\wintask\bin. The screen looks like below:
In Add arguments field, type the name of the script that you want to run, including its full path and its .ROB extension, for example "C:\program files (x86)\WinTask\scripts\launch_notepad.rob". If the application that the script automatizes needs to start in a specific folder, fill the Start in field. The dialog box looks like below. Click OK button.
Click now the Triggers Tab. The Triggers dialog box is displayed:
Click New button. In the New Trigger screen, specify when the task must start and click OK button when done:
You can click Settings Tab for advanced options:
Look too at Conditions Tab if needed:
Click OK button, the task is now scheduled. You can see all the scheduled tasks by double clicking Task Scheduler library in the left pane of Task Scheduler main window.