[Yanel-dev] scheduler-jobs.xml

basZero baszero at gmail.com
Tue Oct 4 04:44:58 EDT 2016


Hi,

cool would be something like this in the scheduler-jobs.xml :

    <job class="com.myjobs.blabla" name="My Job A">
      <trigger cronSchedule="STRING"> <!-- e.g. "0 0 15 5 * ?" -->
      </trigger>
    </job>
Cheers, Balz

On Tue, Oct 4, 2016 at 10:38 AM, basZero <baszero at gmail.com> wrote:

> Hi,
>
> Yanel runs on Quartz 2.1.5, which is great.
> However I didnt' find out how to use the advanced triggering features via
> the scheduler.jobs.xml:
>
> trigger = newTrigger()
>     .withIdentity("trigger3", "group1")
>     .startNow()
>     .withSchedule(cronSchedule("0 0 15 5 * ?")) // fire on the 5th day of
> every month at 15:00
>     .build();
>
> Does Yanel support the Cron-Schedule notation in any way? If so, where and
> how do I have to configure it?
>
> Source: http://www.quartz-scheduler.org/documentation/quartz-2.x/cookbook/
> MonthlyTrigger.html
>
> Thanks
> Balz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mx2.wyona.com/pipermail/yanel-development/attachments/20161004/2d7cb169/attachment.html>


More information about the Yanel-development mailing list