quave:synced-cron package version 2.2.0
New features:
-
allowParallelExecution option (default: false)
- Controls whether multiple instances of the same job can run simultaneously
-
timeoutToConsiderRunningForParallelExecution option
- Sets a time limit after which a new job instance can start, even if the previous one is still running
-
Callback functions:
- onSuccess: Triggered after successful job completion
- onError: Called when a job encounters an error
Breaking change:
allowParallelExecution now defaults to false. Set to true in SyncedCron.add() to maintain previous behavior of allowing parallel executions.
Full changelog and documentation on GitHub.