diff --git a/src/automation/confession.ts b/src/automation/confession.ts index 2021385..9bc009a 100644 --- a/src/automation/confession.ts +++ b/src/automation/confession.ts @@ -5,7 +5,7 @@ import { deleteConfession } from "../api/delete"; module.exports = { setup: (client: Client) => { - cron.schedule("* * * * *", async () => { + cron.schedule("0 0 * * *", async () => { const allConfession = await getAllConfessions(); allConfession.forEach(async (confession) => {