Git Product home page Git Product logo

Comments (3)

fabioformosa avatar fabioformosa commented on July 16, 2024

Types of trigger:

  • SimpleTrigger
  • CalendarIntervalTrigger
  • CronTrigger
  • DailyTimeIntervalTrigger

Simple Trigger

It can:

  • occur immediately and not repeat
  • occur immediately, and repeat at the the given interval the given number of times
    params: repeatCount, repeatCount
  • occur at the given time, and not repeat
    params: startTime
  • occur at the given time and repeat at the the given interval the given number of times, or until the given end time
    Params:
    startTime – A Date set to the time for the Trigger to fire.
    endTime – A Date set to the time for the Trigger to quit repeat firing.
    repeatCount – The number of times for the Trigger to repeat firing, use REPEAT_INDEFINITELY for unlimited times.
    repeatInterval – The number of milliseconds to pause between the repeat firing

http://www.quartz-scheduler.org/api/2.3.0/index.html

CalendarIntervalTrigger

It will occur at the given time, and repeat at the the given interval until the given end time.
Params:
startTime – A Date set to the time for the Trigger to fire.
endTime – A Date set to the time for the Trigger to quit repeat firing.
intervalUnit – The repeat interval unit (minutes, days, months, etc).
repeatInterval – The number of milliseconds to pause between the repeat firing.

CronTrigger

The fire time is dictated by the cronExpression resolved with respect to the specified timeZone occurring from the startTime until the given endTime.
If null, the start-time will also be set to the current time. If null, the time zone will be set to the system's default.
Params:
StartTime – A Date set to the earliest time for the Trigger to start firing.
endTime – A Date set to the time for the Trigger to quit repeat firing.
cronExpression – A cron expression dictating the firing sequence of the Trigger
timeZone – Specifies for which time zone the cronExpression should be interpreted, i.e. the expression 0 0 10 * * ?, is resolved to 10:00 am in this time zone.

DailyTrigger

It will occur at the given time, and repeat at the the given interval until the given end time.
Params:
startTime – A Date set to the time for the Trigger to fire.
endTime – A Date set to the time for the Trigger to quit repeat firing.
startTimeOfDay – The TimeOfDay that the repeating should begin occurring.
endTimeOfDay – The TimeOfDay that the repeating should stop occurring.
intervalUnit – The repeat interval unit. The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.
repeatInterval – The number of milliseconds to pause between the repeat firing.

from quartz-manager.

fabioformosa avatar fabioformosa commented on July 16, 2024

Common Params

  • startTime: (optional) A Date set to the time for the Trigger to fire. If it's not provided, trigger fires immediately
  • dateTime: (optional) A Date set to the time for the Trigger to quit repeat firing.

Specific Params

  • Interval:
    • Unit Time + Value (simpleTrigger + calendarIntervalTrigger + dailyTrigger)
    • Cron (cronTrigger)
    • Recurring (cronTrigger): atHourAndMinuteOnGivenDaysOfWeek, monthlyOnDayAndHourAndMinute, weeklyOnDayAndHourAndMinute, dailyAtHourAndMinute
  • Interval Options:
    • DayTime (dailyTrigger), OnDayOfWeek (dailyTrigger)
    • preserveHourOfDayAcrossDaylightSavings (cronTrigger)
    • skipDayIfHourDoesNotExist (cronTrigger)
  • Misfire policy: can differ according to the trigger type

from quartz-manager.

fabioformosa avatar fabioformosa commented on July 16, 2024

Simple Trigger

  • Trigger Name
  • Unchangable Trigger Name
  • Trigger Submission > auto-selection
  • Trigger Rescheduling > No changes at the Trigger List
  • Job Class
  • Job Class (rendering issue)
  • Job Class Selection
  • Reschedule button: bug

from quartz-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.