Object Type = org.alfresco.enterprise.scheduler.MonitoredRAMJobStore$MonitoredCronTrigger, Group=*, Type=*, Trigger=*
Allows monitoring of the individual triggers, i.e. scheduled jobs, running in the Quartz scheduler. The attributes have various default settings but share the following meanings:
Property | Description |
---|---|
Group | The name of the schedule group that owns the trigger. Typically DEFAULT. |
Type | The type of trigger, typically MonitoredCronTrigger or MonitoredSimpleTrigger. Triggers of different types have different properties. |
Trigger | The name of the trigger itself. Must be unique within the group. |
All instances have the following properties:
Property | Description |
---|---|
CalendarName | The name of the scheduling Calendar associated with the trigger, or null if there is not one. |
Description | An optional textual description of the trigger. |
EndTime | The time after which the trigger will stop repeating, if set. |
FinalFireTime | The time at which the last execution of the trigger is scheduled, if applicable. |
Group | The name of the schedule group that owns the trigger. |
JobGroup | The name of the schedule group that owns the job executed by the trigger. |
JobName | The name of the job executed by the trigger. |
MayFireAgain | A Boolean that when true indicates that it is possible for the trigger to fire again. |
Name | The name of the trigger. |
NextFireTime | The next time at which the trigger will fire. |
PreviousFireTime | The previous time at which the trigger fired. |
Priority | A numeric priority that decides which trigger is executed before another in the event of a ‘tie’ in their scheduled times. |
StartTime | The time at which the trigger should start. |
State | The current state of the trigger. |
Volatile | A Boolean that when true indicates that the trigger won’t be remembered when the JVM is restarted. |
When Type=MonitoredCronTrigger, the following additional properties are available:
Property | Description |
---|---|
CronExpression | A unix-like expression, using the same syntax as the cron command, that expresses when the job should be scheduled. |
TimeZone | The name of the time zone to be used to interpret times. |
If Type=MonitoredSimpleTrigger, the following additional properties are available:
Property | Description |
---|---|
RepeatCount | The number of times the job should repeat, after which it’ll be removed from the schedule. A value of -1 means repeat indefinitely. |
RepeatInterval | The time interval in milliseconds between job executions. |
TimesTriggered | The number of times the job has been run. |
To run the database cleanup activities, schedule the propTablesCleanupTrigger attribute. For more information, see Schedule cleanup of database tables.