Schedule Job Service
interface ScheduleJobService
调度任务服务
需要注意的是,调度任务服务只是负责调度的!!
经过调度后,具体任务将被安排在JobTypeRunner中负责执行。如果执行器所处环境为该任务而临时建立的,那么在任务JobTypeRunner.run完成后会立刻JobTypeRunner.quitApplication并且尝试终止整个环境。 非集群环境则会尝试当前虚拟机中调用JobTypeRunner。
Since
2.6.0
Author
CJ
Inheritors
Functions
Link copied to clipboard
清除掉一个定时的调度任务
Link copied to clipboard
abstract fun submitPersistentJob(cron: String, job: PersistentJob, timezone: TimeZone = TimeZone.getDefault(), springCronSeconds: String = "0")
定时调度任务
Link copied to clipboard
马上调度一个一次性临时任务