mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-27 21:14:12 -05:00
Retrieve updates from SplatNet closer to the top of the hour
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user