...
- Open the Tasks console (see Tasks), and click the New Task button.
- In the page that opens, select the Batch Execution option, and then click Continue.
The Batch Execution Task page opens. - In Name, type the name of the new task.
- In Description, type a description of the new task; optional.
- In Program/Script Path, type the name of the program/script to be executed by the task.
- In Arguments, type the arguments needed for the program/script to run, separated by spaces.
- In Environment Variables, type the environment variables needed for the program/script to run; optional.
- In Working Directory, type the name of the directory from which the program/script should be run; optional.
- In Output Target File, type the the path to the file where output of the program/script execution is to be written; optional.
- Select the Add Optional Params checkbox to include in the output file the date, account name, host name, and username.
- To schedule the task for automatic runningTo automate task execution, open the Schedule tab, and set configure the parameters scheduler as described in Scheduling a Task.
- Click Save.
The Batch Exection task is saved.