Scheduled Script
A scheduled script is a script that runs based on predefined schedules or time events. To set up a scheduled script, follow these steps:
-
Click the Scheduled button in the Scripting tab.
-
Click the Add new script button.
-
Configure the parameters in the Scheduled script dialog as follows:
-
Script name: Specify a descriptive name for the script.
-
Minute/Hour/Day of the month: Scheduled scripting uses standard cron format for date/time parameters.
*
Execute script every minute, hour, or day.
*/N
Execute script every N minutes/hours/days. N is an integer. A script is executed when current value divided by N gives 0 in modulo. For example, a script with hour parameter set to */8 will be executed when the hour value is 0, 8, and 16.
N
Execute script when minute/hour/day matches N.
N-K
Execute script when minute/hour/day is between N-K range (inclusive).
N,K
You can specify multiple N and N-K type parameters separated by commas. For example, a script with the minute parameter set to 15,50–52 will execute when the minute value is 15, 50, 51, and 52.
-
Month of the year/Day of the week: Select from the dropdown menu.
-
Active: Choose whether the script is active (green circle) or disabled (red circle).
-
Category: Assign a new or existing category name to group similar scripts (this won’t affect the script’s action but helps with organization).
-
Description: Provide a brief description of the script.
-