Scheduler v2
Changelog
- Scheduler configuration changes
- removed
emailFrom
- added
email
configurationfrom
subject
body
transport
- removed
timezone
- removed
verboseLockFile
- removed
New methods
then
- This lets you define a callback to run after a job execution (e.g. log with a custom logger, ping a url ... )onlyOne
- This method has the same functionalities as the previousdoNotOverlap
Removed methods
- Advanced logging has been removed from the scheduler, the
then
method provides more flexibility.setLogger
setLabel
setJobDoneMessage
doNotOverlap
- The new methodonlyOne
allows more flexibilityevery
- More helpers have been added for simplicityminute
hour
day
month
Schedule times
Check the README for all the available methods