Tweak cron schedule

This commit is contained in:
Matt Isenhower 2022-10-21 10:03:36 -07:00
parent 1ad8ac040d
commit 0493b175ea

View File

@ -5,7 +5,7 @@ import { sendTweets } from "./twitter/index.mjs";
export default function() {
new CronJob('5,20,35,50 * * * *', warmCaches, null, true);
new CronJob('10 0,1,2,5,10,15,30,45 * * * *', async () => {
new CronJob('15 0,2,5,10,15,30,45 * * * *', async () => {
await updateAll();
await sendTweets();
}, null, true);