Skip to content

Commit

Permalink
fixed cron descriptions and schedules
Browse files Browse the repository at this point in the history
  • Loading branch information
GhomKrosmonaute committed Nov 5, 2024
1 parent 9c187c2 commit 96ce116
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/cron/tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ import * as app from "#app"
*/
export default new app.Cron({
name: "tracker",
description: "A tracker cron",
schedule: "hourly",
description: "Update the guild tracker every 5 minutes",
schedule: {
type: "minute",
minute: 5,
},
async run() {
for (const guild of app.client.guilds.cache.values()) {
await app.updateGuildOnlineCountTracker(guild)
Expand Down

0 comments on commit 96ce116

Please sign in to comment.