tokio-cron-scheduler icon indicating copy to clipboard operation
tokio-cron-scheduler copied to clipboard

Schedule tasks on Tokio using cron-like annotation

Results 22 tokio-cron-scheduler issues
Sort by recently updated
recently updated
newest added

` use tokio_cron_scheduler::{Job, JobScheduler}; #[tokio::main] async fn main() -> Result { let sched = JobScheduler::new().await?; sched.add(Job::new("0 0/1 15 * * ?", move |uuid, l| { println!("15th run....."); })?).await?; // sched.start().await?;...

I have an application using tokio-cron-scheduler. However, after the application starting and running for a while, the cron scheduler no longer work and print `Tick send error SendError(true)` to the...

Updates to newer num-derive and thereby to syn 2, which may end up saving a lot of projects some compile time.

Implement a declaration macro with parameters that can be either a duration or a time point Vec!?

enhancement

I use `tokio-cron-scheduler` to run schedule job, and run together with Axum ``` #[tokio::main] async fn main() { // Build our application with a single route. let ctx = Context::new();...

bug

Changes made: - Correct cron schedule from `"*/2 * * * * *"` to `"*/2 * * * *"` - Improve code formatting for better readability

It would be beneficial to integrate the [english-to-cron](https://crates.io/crates/english-to-cron) crate into your library to allow users to generate cron expressions using plain English text. This would enhance the usability of your...

## Summary This PR fixes two small typos in the SQL query that powers `time_till_next_job` methods of the Postgres metadata store (missing space and wrong SQL parameter index).

Related to #74 Swaps from the `cron` library to `croner` to support a wider range of cron expressions (see https://github.com/Hexagon/croner-rust?tab=readme-ov-file#why-croner-instead-of-cron-or-saffron) This is a straight swap of the libraries. As `croner`...

It would be quite nice to be able to have a method that allows you to change the schedule of a job based on a`Uuid` and a new cron schedule....

enhancement