SCENARIO 1:
A job runs at a specific period in the day at a specific interval (e.g. between 1am - 3am at 15 minute intervals) . When it completes with a specific status, it stops (and does not run after 15 minutes) and does not get triggered again until the next day again at 1am, and at the same time, it triggers all dependent jobs.
SCENARIO 2:
A job is scheduled to run at a specific time of day. It continues to run at regular intervals until a condition is met, after which it stops running. It will then start running the next day at the scheduled time and process repeats.
Reference:
spring+quartz 動態任務方案
Quartz+Spring 自定義作業調度(作業在DB中配置)
Quartz在Spring中動態設置cronExpression(spring設置動態定時任務)
Quartz實現Java調度操作
Sping 中配置Quartz,SchedulerFactoryBean不能自動啟動