generated from nhcarrigan/template
fix: cron every day not hour
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ export class DiscordAnalytics {
|
|||||||
if (this.job) {
|
if (this.job) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.job = scheduleJob("metrics", "0 * * * *", async() => {
|
this.job = scheduleJob("metrics", "0 0 * * *", async() => {
|
||||||
try {
|
try {
|
||||||
const fakeGuilds = await this.client.guilds.fetch();
|
const fakeGuilds = await this.client.guilds.fetch();
|
||||||
const guilds = await Promise.all(
|
const guilds = await Promise.all(
|
||||||
|
|||||||
Reference in New Issue
Block a user