scheduleExpression property
A cron expression that describes details about the monitoring schedule.
Currently the only supported cron expressions are:
-
If you want to set the job to start every hour, please use the following:
Hourly: cron(0 * ? * * *) -
If you want to start the job daily:
cron(000-23? * * *)
-
Daily at noon UTC:
cron(0 12 ? * * *) -
Daily at midnight UTC:
cron(0 0 ? * * *)
cron(0 00-23/01-24 ? * * *)
For example, the following are valid cron expressions:
-
Every 12 hours, starting at 5pm UTC:
cron(0 17/12 ? * * *) -
Every two hours starting at midnight:
cron(0 0/2 ? * * *)
Implementation
final String scheduleExpression;