Cron expression reference
For example, the following expression translates to “every Monday through Friday at 11:30 AM”:
Feature | Description |
---|---|
Wildcard. Specifies all valid values. | |
, | List. Use to specify several values (e.g. 1,15,30 ). |
Range. Use to specify a range of values (e.g. 1-15 ). | |
/ | Step. Use after a wildcard or range to specify the “step” between values. For example, is equivalent to 0,2,4,6,8,10 . |
If you use a non-wildcard value in both fields, the monitor runs when either field matches the time. For example, causes the monitor to run at 2:15 AM on the 1st of the month, the 15th of the month, and every Monday.
Every 10 minutes on Saturday and Sunday:
For an example of how to use a custom cron expression in an API call, see the create monitor API operation.