Home > Scheduling Scripts > Using Windows Task Scheduler

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:

  1. Click the Windows Start button. Select All Programs/Accessories/System tools/Task Scheduler. Or in the Search box, type Task Scheduler and press Enter.

  2. If the "User Account Control" dialog box comes up, click the Continue button.

  3. The Task Scheduler main window is displayed:

  4. In Actions pane on the right, click Create Task. The "Create Task" dialog box is displayed:

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

  6. Click Actions Tab:



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


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


  9. Click now the Triggers Tab. The Triggers dialog box is displayed:


  10. Click New button. In the New Trigger screen, specify when the task must start and click OK button when done:


  11. You can click Settings Tab for advanced options:


  12. Look too at Conditions Tab if needed:


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