1 Reply Latest reply on Feb 8, 2008 1:48 AM by Daniel Bevenius

    Does  ESB schedule-provider support start and end date?

    David Sun Newbie

      I can't find the logic in ESB source code, but the programmer's guild says so.
      Any hint?

        • 1. Re: Does  ESB schedule-provider support start and end date?
          Daniel Bevenius Master

          Hi dsun,

          If you modify the scheduled_services quickstart and add startDate to the simple-schedule this should work:

          <providers>
           <schedule-provider name="scheduler">
           <simple-schedule scheduleid="3-sec-trigger" frequency="3" execCount="2" startDate="2008-02-08T07:45:00"/>
           </schedule-provider>
           </providers>
          

          The same can be specified for a endDate.

          The definition for the start date looks like this:
          <xsd:attribute name="startDate" type="xsd:dateTime"
           use="optional">
           <xsd:annotation>
           <xsd:documentation xml:lang="en">
           Schedule start time and date.
           </xsd:documentation>
           </xsd:annotation>
           </xsd:attribute>
          


          Regards,

          Daniel