change scraping job to be run every 60 minutes
This commit is contained in:
parent
71f97c0763
commit
1f386fd002
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ async fn main() -> Result<(), anyhow::Error> {
|
|||
})
|
||||
.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.
|
||||
let handle = run_scheduler(scheduler, running.clone());
|
||||
|
|
Loading…
Reference in a new issue