@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface ScheduledQuartzJob
Job
scheduled Quartz jobs.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
cron
A cron-like expression, extending the usual UN*X definition to include
triggers on the second as well as minute, hour, day of month, month
and day of week.
|
java.lang.String |
name |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
cluster
If true the job will only run once in the Alfresco cluster by using the JobLockService
|
java.lang.String |
cronProp
A key to a property from alfresco-global.properties specifying
a cron-like expression, extending the usual UN*X definition to include
triggers on the second as well as minute, hour, day of month, month
and day of week.
|
java.lang.String |
group |
public abstract java.lang.String cron
"0 * * * * MON-FRI"
means once
per minute on weekdays (at the top of the minute - the 0th second).public abstract java.lang.String name
public abstract java.lang.String group
Scheduler.DEFAULT_GROUP
public abstract java.lang.String cronProp
"0 * * * * MON-FRI"
means once
per minute on weekdays (at the top of the minute - the 0th second).