fabioformosa / quartz-manager

REST API and UI Console Manager for Quartz Scheduler. This is a Java Library & UI embeddable single page app, to control and monitor jobs scheduled with Quartz Scheduler
Apache License 2.0
237 stars 85 forks source link

Fully-fledged support for a single Simple Trigger #52

Closed fabioformosa closed 1 year ago

fabioformosa commented 2 years ago

As a user, I want to set up all types of triggers and all params for the trigger So I can start trigger different than a simple trigger with a daily frequency and max num of occurences.

Complete support to set up all types of triggers and all params of a trigger.

fabioformosa commented 2 years ago

Types of trigger:

Simple Trigger

It can:

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.

fabioformosa commented 2 years ago

Common Params

Specific Params

fabioformosa commented 2 years ago

Simple Trigger