From 081b7dac2ad4724fbf428a52ea9733c2b5046816 Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Fri, 11 Aug 2017 12:08:07 -0700 Subject: [PATCH] Add the Salmon Run calendar to the hourly update script --- src/splatoon/run.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/splatoon/run.js b/src/splatoon/run.js index 18fa351..5c3fbec 100644 --- a/src/splatoon/run.js +++ b/src/splatoon/run.js @@ -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);