From 403ea219bd9d04505f1ee60bbd226e8f78a57fcc Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 13 Nov 2017 17:04:43 -0800 Subject: [PATCH] Retrieve updates from SplatNet closer to the top of the hour --- src/updater/cron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/updater/cron.js b/src/updater/cron.js index 31d0575..3849056 100644 --- a/src/updater/cron.js +++ b/src/updater/cron.js @@ -5,8 +5,8 @@ const twitter = require('./twitter'); console.info('Starting periodic tasks...'); -// Run every hour at 30sec after the hour -new CronJob('30 0 * * * *', async () => { +// Run every hour at 10sec after the hour +new CronJob('10 0 * * * *', async () => { await update.updateAll(); await twitter.maybePostTweets(); }, null, true);