mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-02-14 12:19:04 +00:00
This commit is contained in:
@ -4,7 +4,7 @@ import nodeCron from "node-cron";
|
||||
import { Scraper } from "./scraper";
|
||||
|
||||
const main = () => {
|
||||
nodeCron.schedule("*/1 * * * *", () => {
|
||||
nodeCron.schedule("*/10 * * * *", () => {
|
||||
removeSync("./cache/schedules");
|
||||
const scraper = new Scraper();
|
||||
scraper.scrape();
|
||||
|
||||
Reference in New Issue
Block a user