update cron to 10 minutes
Some checks failed
Build / Build (push) Has been cancelled

This commit is contained in:
Fabrice LAMANT
2026-02-04 09:33:12 +01:00
parent fe5e902c4e
commit f910dd97da

View File

@ -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();