I’m using job_scheduler = "1.2.1"
crate for scheduling my job in Rust.
I tried some examples like
So for example, a schedule of 0 2,14,26 * * * * would execute on the 2nd, 14th, and 26th minute of every hour.
And it works fine. But when I try to set job to run at every day at 8:30 morning like this
sched.add(Job::new("0 30 8 * * * *".parse().unwrap(), || {
it does nothing. Is formatting wrong?
- I also tried remove one more asterisk like this
"0 30 8 * * * "
Same result. I’m not sure to set it right and documentation also does not provide useful example for my case.