Skip to content

Commit 2886d14

Browse files
authored
Update cron job error
1 parent c35a4f0 commit 2886d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/calendar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export async function execute() {
243243

244244
try {
245245
// Check events on a schedule
246-
cron.schedule("*/5 * * * * *", async () => {
246+
cron.schedule("0 16 * * *", async () => {
247247
const events = await getValidEvents();
248248

249249
if (events.length === 0) {

0 commit comments

Comments
 (0)