Only check subscription once a day again

This commit is contained in:
Johannes Zellner
2025-09-29 16:26:01 +02:00
parent 9c8aab6e29
commit e05fef18a0

View File

@@ -195,8 +195,7 @@ async function startJobs() {
});
gJobs.subscriptionChecker = CronJob.from({
// cronTime: `00 ${minute} ${hour} * * *`, // once a day based on seed to randomize
cronTime: `*/30 * * * * *`, // once a day based on seed to randomize
cronTime: `00 ${minute} ${hour} * * *`, // once a day based on seed to randomize
onTick: async () => await safe(appstore.checkSubscription(), { debug }),
start: true
});