Fortinet white logo
Fortinet white logo

Examples

Creating an ssh script type job

Creating an ssh script type job

To create an ssh script type job:
  1. Go to Secrets > Job List.
  2. Select +Create.

    The New Job window opens.

  3. Enter a name for the job.
  4. In the Type dropdown, select SSH Script to target secrets that work on linux-like machines.
  5. Enable Status to allow the execution of the job.
  6. From the Secret dropdown, select the secret created in Creating a secret with mandatory approval requirement for launching a job.
  7. In Start Time, enter date (MM/DD/YYYY) and time or select the Calendar icon and then select a date and time.

    This is time when the script is first executed.

  8. In Script, enter the script to be executed on the target server.
  9. Click Submit.

    In this example, the script is executed one-time only at the Start Time set in step 7.

Creating an ssh script type job

Creating an ssh script type job

To create an ssh script type job:
  1. Go to Secrets > Job List.
  2. Select +Create.

    The New Job window opens.

  3. Enter a name for the job.
  4. In the Type dropdown, select SSH Script to target secrets that work on linux-like machines.
  5. Enable Status to allow the execution of the job.
  6. From the Secret dropdown, select the secret created in Creating a secret with mandatory approval requirement for launching a job.
  7. In Start Time, enter date (MM/DD/YYYY) and time or select the Calendar icon and then select a date and time.

    This is time when the script is first executed.

  8. In Script, enter the script to be executed on the target server.
  9. Click Submit.

    In this example, the script is executed one-time only at the Start Time set in step 7.