scheduled-job-XX
Options in this section are specific to the Context Services functionality of UCS.
action
Default Value: purge.service.closed
Valid Values: See description
Changes Take Effect: Immediately
Specifies the type of action to be performed when the pruning process runs.
- purge.service.all—Specifies that any started or completed services within the given time range will be purged.
- purge.service.open—Specifies that only non-completed services are purged from database.
- purge.service.open.anonymous—Specifies that only non-completed anonymous services are purged from database.
- purge.service.closed—Specifies that only completed services are purged from database.
- purge.service.closed.anonymous—Specifies that only completed anonymous services are purged from database.
cron-expression
Default Value: 0 0 20 ? * 6L
Valid Values: Cron expression as described below.
Changes Take Effect: Immediately
Cron expression representing the scheduling.
More documentation about the syntax is at http://en.wikipedia.org/wiki/Cron.
The example expressed in the default value resolves to "schedule at 8pm on the last Friday of every month".
enabled
Default Value: false
Valid Values: true, false
Changes Take Effect: Immediately
Specifies if scheduled job should be taken into account.
period
Default Value: 5
Valid Values: Any positive integer from 1 to 9999
Changes Take Effect: Immediately
Sets the time frame for pruning.
For example, if period=6 and period-type=days, then the job process will take a period of 6 days.
See also the period-type option.
period-type
Default Value: months
Valid Values: See description
Changes Take Effect: Immediately
Specifies the units to use for calculation of periods:
- hours—Specifies hours as the period calculation unit.
- days—Specifies days as the period calculation unit.
- months—Specifies months (default) as the period calculation unit.
- years—Specifies years as the period calculation unit.
See also the period option.