O'Reilly logo

Managing and Customizing OpenCms 6 by Matt Butcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cron Expressions in OpenCms 6

A cron expression has six mandatory fields (or slots) and one optional field. Adjacent fields are separated by a space. The asterisk * is a wild card meaning "any legal values". In theory, we could construct an empty expression that would look like this: * * * * * * *. (This expression will not work in OpenCms for reasons explained below.)

Note

The source of information for this text is the JavaDoc (documentation contained in the source code) for the org.opencms.scheduler package’s CmsScheduledJobInfo class. For more information, you can consult thesource code.

Each field in a cron expression stands for a particular time period. Here is a list of the fields with all of their legal values:

  1. Seconds: 0 to 59, *
  2. Minutes: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required