10.3 Understanding the Cron Expression for a Custom Interval of Collection

Identity Governance uses a cron expression to create the custom schedule. The cron expression is a string of parameters in the following syntax:

        second minute hour day_of_month month year
      

For example:

0 20 10 ? * *

Use the following values to specify the parameters in the expression:

n

Specifies a numeric value for the parameter. For example 12 for day_of_month or 2015 for year.

*

Specifies that the parameter uses all available values. For example, to run at 10:20 AM every day in July 2015, specify 0 20 10 * 7 2015.

-

Specifies a range of values. For example, to run the collection during consecutive months, specify 0 20 10 ? MAR-OCT *.

/

Specifies that you want to run the collection at a particular interval. Use the following syntax: first_instance/increment. For example, to run the collection on the first day of the month and every third day after, specify 0 20 10 1/3 * *.

?

Applies only to day_of_month

Specifies that day_of_month does not have a specific value. For example, to run the schedule at 10:20 AM on any day of May, specify 0 20 10 ? MAY *.

L

Applies only to day_of_month

Specifies that you want to run the collection on the last day of the month. For example, 0 20 10 L * *.

To specify multiple values for a parameter, use commas. For example, to run the collection every six hours at specific days during specific months, specify 0 0 0/6 5,7,21,24 MAR-JUN,OCT *. The schedule runs on the 5th, 7th, 21st, and 24th days of March, April, May, June, and October. This example also combines values to specify the month: MAR-JUN,OCT.