Only check subscription once a day again
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user