The Microsoft Windows Task Scheduler (formerly Scheduled Tasks) is a job scheduler that launches computer programs or scripts at predefined times or after specified time intervals.
See Xml\Tutorial\5001 Advanced topics\0501 Run as a Windows service\ConvertCSV_ScheduledTask.xml for the file used in this tutorial
1. Run the task scheduler
Right click the Windows button |
|
Select [Run] |
The Run window appears |
|
Click the [OK] button |
The Task Scheduler window is displayed |
Create a [ScriptoMate] folder in the Task Scheduler Library to organize your ScriptoMate tasks!
2. Create a task
Click [Create Task...] in the [Actions] panel |
The Create Task window is displayed |
Set [Name] to CSV2EXCEL |
Click the [Triggers] tab |
|
Click [New...] |
The [New Trigger] window is displayed |
Select [Repeat task every] and set the value to [1 minutes] |
|
Click the [OK] button |
Click the [Actions] tab |
|
Click [New...] |
The [New Action] window is displayed |
Set [Program/script] to D:\bin\Debug\VSConsole.exe |
|
|
Set [Add arguments (optional)] to "D:\Xml\Tutorial\5001 Advanced topics\0601 Run as a Scheduled Task\ConvertCSV_ScheduledTask.xml" True True |
|
Set [Startup directory] to D:\bin\Debug |
Click the [OK] button |
Click the [OK] button |
The CSV2EXCEL task is created |
Right click the task and select [Disable] to disable the task