• Quartz Sheduler - Cron Trigger

    Cron is a UNIX tool that has been around for a long time, so its scheduling capabilities are powerful and proven. The CronTrigger class is based on the scheduling capabilities of cron.

    CronTrigger uses “cron expressions”, which are able to create firing schedules such as: “At 8:00am every Monday through Friday” or “At 1:30am every last Friday of the month”.

    1. Seconds
    2. Minutes
    3. Hours
    4. Day-of-Month
    5. Month
    6. Day-of-Week
    7. Year (optional field)

    Cron examples:

    • 0/30 * * * * ? = every 30s from 0s
    • 0 0 8 * * ? = every day at 8h am
    • 0 15 9 ? * MON = every Monday at 9h 15m am

    Ref: Quartz Sheduler: Cron Trigger Tutorial - http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html