An SSH Execution task opens an SSH connection to a remote machine and executes a command or set of commands.
To add an SSH Execution task:
- Open the Tasks console (see Tasks), and click the New Task button.
- In the page that opens, select the SSH Execution option, and then click Continue.
The SSH Execution Task page opens. - In Name, type the name of the new task.
- In Description, type a description of the new task; optional.
- In Connection Details, select the account of the SSH host on which the program/script is to be
executed, or click New to define a new SSH account (see Creating an Account). - 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; optional.
- In Environment Variables, type the environment variables needed for the program/script to 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.
- Open the Schedule tab.
- In Set Frequency, select the frequency of task execution: Never, Daily, Weekly, or Monthly, and then complete the options that appear for your selected frequency.
- Click Save.
The SSH Exection task is saved.