Scheduled Jobs Management
(Difference between revisions)
(→Sample Cron Expressions) |
|||
Line 7: | Line 7: | ||
==Sample Cron Expressions== | ==Sample Cron Expressions== | ||
*Every 5 minutes - 0 0/5 * * * ? | *Every 5 minutes - 0 0/5 * * * ? | ||
+ | *Every night at midnight - 0 0 0 * * ? |
Revision as of 19:37, 27 June 2007
A Scheduled Job is a piece of code that runs on a regular basis. It can be one of the OpenCms jobs that's in the java class drop-down list, or you can create your own Scheduled Job in java (this requires a java developer), and type the class name in.
Scheduled jobs are run based off a cron expression. Cron is the name of a task scheduler for unix/Linux systems - OpenCms jobs use the same syntax.
Sample Cron Expressions
- Every 5 minutes - 0 0/5 * * * ?
- Every night at midnight - 0 0 0 * * ?