Fix mediawiki polling cron

Was doing every minute after 7am, instead of every day once at 7am.
This commit is contained in:
Basti 2018-09-09 15:35:09 +08:00
parent 8b1977b53e
commit c427d7c313

View File

@ -171,6 +171,6 @@ module.exports = async function(robot, kredits) {
.then(() => updateTimestampForNextFetch());
}
cron.schedule('* 7 * * *', processWikiChangesSinceLastRun);
cron.schedule('0 7 * * *', processWikiChangesSinceLastRun);
};