0.5.0
版本发布时间: 2022-02-13 18:06:19
mvniekerk/tokio-cron-scheduler最新发布版本:v0.13.0(2024-09-22 17:23:23)
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).