cron: change cleanupEvents to every 15 minutes
This commit is contained in:
parent
a46381849f
commit
97a3478b1a
|
@ -14,4 +14,4 @@ async function cleanupEvents() {
|
||||||
console.log(`Deleted ${result?.numDeletedRows ?? 0} events.`);
|
console.log(`Deleted ${result?.numDeletedRows ?? 0} events.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
cron.hourly(cleanupEvents);
|
cron.every15Minute(cleanupEvents);
|
||||||
|
|
Loading…
Reference in New Issue