1 2 3 4 5 6 7 8 9 10 11 12 13 14
use std::time::Duration; use crate::scheduler::cron_scheduler::start_cron_scheduler; mod models; mod configure; mod scheduler; mod utils; #[tokio::main] async fn main() { start_cron_scheduler().await; tokio::time::sleep(Duration::MAX).await; }