Releases: mvniekerk/tokio-cron-scheduler
Releases · mvniekerk/tokio-cron-scheduler
0.5 - Shutdown handling (and shutdown signal)
v0.5
New features
Adds the shutdown method to the scheduler. This will remove and stop all tasks.
There's also a set_shutdown_handler
to run an async task after the scheduler was stopped. Conversely, remove_shutdown_handler
removes the shutdown handler.
signal
feature flag
Optional. Adds shutdown_on_signal
and shutdown_on_ctrl_c
to the scheduler.
Both shuts the system down (stops the scheduler, removes all the tasks) when a signal
was received (with ctrl+c a specific one).
0.4 - Start, stop and removal notifications
New:
- Add (and remove) notifications whenever your job was started, completed or removed.
- The scheduler is now trait-ed off so that you can plug in your own scheduler. The default implementation is living in its own source file (simple_job_scheduler).