You can schedule the script execution at a specific date and time, or on a regular basis with a certain frequency. 

To create a scheduled script, complete the steps below:

  1. Navigate to System Scheduler → Schedule Script.
  2. Click New and fill in the fields.
  3. Click Save or Save and exit to apply the changes.

Schedule script form fields

Field

Mandatory

Description

NameYSpecify the scheduled script name.
Run asYSelect a user to run the script as. Make sure that the specified user has sufficient rights to perform CRUD transactions, defined in the script.
ActiveNSelect this checkbox to activate the script.
JobAdd a description of actions performed by the script.
ScriptNType in a script to execute.
Run frequencyY

Select the run frequency. Available options:

  • On Demand – the script is only executed upon a user's request. If this option is selected, the Execute button appears in the upper right corner of the form. Click it to run the script.
  • Periodically – the script is run regularly with a frequency set by the Run period field.
  • Once – the script is run once on the date and time specified in the Run date and time field.
  • Daily – the script is run daily at the time specified in the Run time field.
  • Weekly – the script is run each week on the selected Day of week at the time specified in the Run time field.
  • Monthly – the script is run each month on the selected Day of month at the time specified in the Run time field.
Run periodY

Specify the period between script runs (days, hours, minutes, or seconds).

This field appears when the Periodically option is selected in the Run frequency field.

Run timeY

Specify the time when to execute a script. The script is executed regularly at this time.

This field appears when the Daily, WeeklyMonthly options are selected in the Run frequency field.

Run date and timeY

Specify the date and time of the script execution.

You can set the current date and time by clicking Now in the date-picker.

This field appears when Periodically or Once options are selected in the Run frequency field.

Day of weekY

Specify a day of the week on which the script should run. For example, select Friday.

This field appears when the Weekly option is selected in the Run frequency field.

Day of monthY

Specify a day of the month on which the script should run. For example, select 13 for the 13th day of the month.

This field appears when the Monthly option is selected in the Run frequency field.


  • No labels