MCPcopy Create free account
hub / github.com/codebymitch/TitanBot / setupCronJobs

Method setupCronJobs

src/app.js:235–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233 }
234
235 setupCronJobs() {
236 cron.schedule('0 6 * * *', () => checkBirthdays(this));
237 cron.schedule('* * * * *', () => checkGiveaways(this));
238 cron.schedule('*/15 * * * *', () => this.updateAllCounters());
239 }
240
241 async updateAllCounters() {
242 if (!this.db) {

Callers 1

startMethod · 0.95

Calls 3

updateAllCountersMethod · 0.95
checkBirthdaysFunction · 0.90
checkGiveawaysFunction · 0.90

Tested by

no test coverage detected