change scraping job to be run every 60 minutes

This commit is contained in:
Denis-Cosmin Nutiu 2024-12-23 13:57:34 +02:00
parent 71f97c0763
commit 1f386fd002

View file

@ -29,7 +29,7 @@ async fn main() -> Result<(), anyhow::Error> {
}) })
.expect("Error setting Ctrl-C handler"); .expect("Error setting Ctrl-C handler");
run_scrapping_job(&mut scheduler, tx, 60.seconds()); run_scrapping_job(&mut scheduler, tx, 60.minutes());
// Run the scheduler in a separate thread. // Run the scheduler in a separate thread.
let handle = run_scheduler(scheduler, running.clone()); let handle = run_scheduler(scheduler, running.clone());