[scraper] fixes cron expression

This commit is contained in:
TheBeastLT
2020-03-17 08:28:41 +01:00
parent 8e67c5f40e
commit 7948f4877e
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ const PROVIDERS = [
// thepiratebayDumpScraper
// thepiratebayUnofficialDumpScraper
];
const SCRAPE_CRON = process.env.SCRAPE_CRON || '* * 0/4 * * *';
const SCRAPE_CRON = process.env.SCRAPE_CRON || '0 0 */4 ? * *';
async function scrape() {
return PROVIDERS