Retrieve updates from SplatNet closer to the top of the hour

This commit is contained in:
Unknown
2017-11-13 17:04:43 -08:00
parent cafeb38ddf
commit 403ea219bd

View File

@@ -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);