This commit is contained in:
parent
fc287be481
commit
f75897007c
@ -32,7 +32,7 @@ export const app = new Elysia();
|
|||||||
app.use(
|
app.use(
|
||||||
cron({
|
cron({
|
||||||
name: "player-statistics-tracker-cron",
|
name: "player-statistics-tracker-cron",
|
||||||
pattern: "*/1 * * * *", // Every day at 00:01 (midnight)
|
pattern: "0 1 * * *", // Every day at 00:01 (midnight)
|
||||||
timezone: "Europe/London",
|
timezone: "Europe/London",
|
||||||
run: async () => {
|
run: async () => {
|
||||||
console.log("Tracking player statistics...");
|
console.log("Tracking player statistics...");
|
||||||
|
Reference in New Issue
Block a user