Platform Explorer / Nuxeo Platform 5.8

Extension point schedule


Extension allowing the registration of schedules. This is similar to a cron job sending events. Note that contrary to UNIX cron there is an additional "seconds" field in the cron expression.

A scheduler definition contains information about what event is sent, when, and under what identity.

For instance :

    <schedule id="mySchedule">
        <!-- Every first of the month at 3am -->
        <cronExpression>0 0 3 1 * ?</cronExpression>

@see org.quartz.CronTrigger @see @see

Contribution Descriptors

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-core-event-5.8.jar
    <extension point="schedule" target="org.nuxeo.ecm.core.scheduler.SchedulerService">
        <schedule id="workManagerCleanup">
          <!-- cleanup every 5 minutes -->
          <cronExpression>0 0/5 * * * ?</cronExpression>
  • nuxeo-core-storage-sql-5.8.jar
    <extension point="schedule" target="org.nuxeo.ecm.core.scheduler.SchedulerService">
        <schedule id="softDeleteCleanup">
          <!-- cleanup every 15 minutes -->
          <cronExpression>0 0/15 * * * ?</cronExpression>