Abstract
Optional
overrideName: stringWhether or not the cron job is currently active.
The name of the cron job.
Changes the cron expression.
The new cron expression to change to.
Disables the cron job.
Enables the cron job.
Initializes the cron job.
Abstract
onThe method that is called on every cron execution.
Runs whenever the execution of the cron job throws an error. This is a wrapper around this.onError that already provides things like disabling the cron job if it's configured that way and logging the error.
The error that was thrown.
Runs whenever the cron expression fires. This is a wrapper around this.onTick that takes care of validation, error handling and updating cron job data.
Updates the cron jobs.
The data to update the cron job with.
A cron job that run periodically based on the provided cron expression.