mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-26 12:42:12 -05:00
Add the Salmon Run calendar to the hourly update script
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
const CronJob = require('cron').CronJob;
|
||||
const splatnet = require('./splatnet');
|
||||
const salmoncalendar = require('./salmoncalendar');
|
||||
|
||||
console.info('Starting periodic tasks...');
|
||||
|
||||
// Run every day at 0min 30sec after the hour
|
||||
new CronJob('30 0 * * * *', () => {
|
||||
splatnet.update();
|
||||
salmoncalendar.update();
|
||||
}, null, true);
|
||||
|
||||
Reference in New Issue
Block a user