hometify/server/services/cron/cron.js

13 lines
386 B
JavaScript

//import cron from "node-cron";
//import fotocasaScraper from "./fotocasaScraper";
// Import other scrapers similarly
//import { notifyNewListing } from './telegramBot'; // Ensure the bot is initialized
export default function (moduleOptions) {
// Schedule scraping tasks
//cron.schedule("0 0 * * *", () => {
//fotocasaScraper();
// Call other scrapers similarly
//});
}