fix(scheduled_tasks): replace broken time parsing code with cron library

This commit is contained in:
alyssa 2025-01-02 00:34:15 +00:00
parent f1de2f2858
commit 357122a892
3 changed files with 42 additions and 76 deletions

10
Cargo.lock generated
View file

@ -584,6 +584,15 @@ dependencies = [
"cfg-if",
]
[[package]]
name = "croner"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38fd53511eaf0b00a185613875fee58b208dfce016577d0ad4bb548e1c4fb3ee"
dependencies = [
"chrono",
]
[[package]]
name = "crossbeam-epoch"
version = "0.9.14"
@ -2911,6 +2920,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"chrono",
"croner",
"fred",
"libpk",
"metrics",