activity set¶
This command creates a new schedule for an automation through a CRON string.
What are the arguments?¶
| Argument | Required | Description |
|---|---|---|
| -activityLabel | Yes | The automation label that will be used in the schedule. |
| -cron | Yes | The Quartz CRON string in the format 0 0 0 * *. |
Warning
For help on how to construct a CRON expression, see: Cron Expression Generator & Explainer - Quartz.
Examples¶
Setting the CRON scheduling rule for the automation with label DemoJava to run every day at 00:00:00:
Setting the CRON scheduling rule for the automation with label DemoPython to run every 30 minutes: