Platform Explorer / Nuxeo Platform 9.2

Component org.nuxeo.ecm.core.scheduler.SchedulerService


Core scheduler registry service.



Extension Points

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.scheduler.SchedulerService">

     Core scheduler registry service.

    <provide interface="org.nuxeo.ecm.core.scheduler.SchedulerService" />

  <implementation class="org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl" />

  <extension-point name="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

    <object class="org.nuxeo.ecm.core.scheduler.ScheduleImpl"/>