mvniekerk / tokio-cron-scheduler

Schedule tasks on Tokio using cron-like annotation
Apache License 2.0
529 stars 59 forks source link

Swap from `cron` to `croner-rust` - Support wider range of cron features #74

Closed MGough closed 2 months ago

MGough commented 3 months ago

The cron library is quite a strict implementation, which makes some things like 'run on the last day of each month' or 'run on the 3rd wednesday of each month' tricky, amongst others.

Croner seems to have wider support, so allowing it to be used instead of cron would be great. Perhaps it might even be possible to select which cron library to use?

I'm happy to try to help out with a move to Croner if it's likely to be merged rather than sit as an open PR, just let me know!

mvniekerk commented 3 months ago

Yes a PR will be welcomed, thank you!

Groete / Best regards Michael van Niekerk


Van: Merlin Gough @.> Gestuur: Thursday, August 8, 2024 2:21:25 PM aan: mvniekerk/tokio-cron-scheduler @.> Aa: Subscribed @.***> onderwerp: [mvniekerk/tokio-cron-scheduler] Swap from cron to croner-rust - Support wider range of cron features (Issue #74)

The cron library is quite a strict implementation, which makes some things like 'run on the last day of each month' or 'run on the 3rd wednesday of each month' tricky, amongst others.

Cronerhttps://github.com/Hexagon/croner-rust seems to have wider support, so allowing it to be used instead of cron would be great. Perhaps it might even be possible to select which cron library to use?

I'm happy to try to help out with a move to Croner if it's likely to be merged rather than sit as an open PR, just let me know!

— Reply to this email directly, view it on GitHubhttps://github.com/mvniekerk/tokio-cron-scheduler/issues/74, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAL7O76OYBWO4SFE7AMOMCTZQNPELAVCNFSM6AAAAABMGLXZ7WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TKNRVHA2DANI. You are receiving this because you are subscribed to this thread.Message ID: @.***>