Schedule Scripts to Run
Required permissions: Script Schedules Create
Script scheduling allows administrators and script developers to schedule script execution. Schedules can be set by the time of day, the day of week, and so forth. Scheduled scripts also maintain persistence data. This lets administrators handle "reawakened" scripts. It protects the system in cases where someone creates thousands of instances of the same script running all at the same time.
-
Click the app selector
and select ACD.
-
Go to Contact Settings > Script Schedules.
- Click Create New.
- Type the Name for the schedule.
- Select a Script Name from the drop-down list of your available scripts.
- Select a Schedule Type from the available choices: One Time, Continuous, or Recurring. The Continuous option is disabled if the Script Name value is not a system script. System scripts cannot contain media-specific actions that enable them to run continually. If media actions are required, system scripts can spawn another script to accomplish those tasks.
- Select a Skill from the drop-down list of available skills.
-
Configure the Duration based on the value you selected for Schedule Type:
One Time
- For Starts On, enter a date for the script to run or use the date selector (indicated by a calendar icon).
- Select a time from the drop-down list. CXone Mpower uses your business unit
High-level organizational grouping used to manage technical support, billing, and global settings for your CXone Mpower system. time zone for executing the script.
Continuous
- For Starts On, enter a date for the script to begin running or use the date selector (indicated by a calendar icon).
- Select a time from the drop-down list. CXone Mpower uses business unit
High-level organizational grouping used to manage technical support, billing, and global settings for your CXone Mpower system. time zone when executing scripts.
- For Ends, select a value. You can choose Never or configure a date and time in the same way you configured Starts On.
Recurring
- For Starts On, enter a date for the script to start recurring or use the date selector (indicated by a calendar icon).
- Select a time from the drop-down list. CXone Mpower uses business unit
High-level organizational grouping used to manage technical support, billing, and global settings for your CXone Mpower system. time zone for executing scripts.
- For Recurs, select a value. You can choose Daily, Weekly, or Monthly from the drop-down list. You can also enter a custom value if you want the schedule to recur Every (so many) Days.
- For Ends, select a value. You can choose Never, configure a date and time in the same way you configured Starts On, or enter a custom numeric value if you want the schedule to end after (so many) occurrence(s).
- Click Next.
- You can enter custom script parameters. These parameters are inserted into the script. They are consumed as variables in the scheduled instance of the script. When you trace a script, you can view these parameters in the starting action of the script labeled as p1-p9.
- Click Save.
- Click Activate.