Files
olympics-calendar/scraper/index.ts
Fabrice Lamant fef4690b0b add docker
2025-12-06 14:55:13 +01:00

13 lines
228 B
TypeScript

import nodeCron from "node-cron";
import { Scraper } from "./scraper";
const main = async () => {
nodeCron.schedule("* * * * *", async () => {
const scraper = new Scraper();
await scraper.scrape();
});
};
main();