We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1440118 commit 6fd3c07Copy full SHA for 6fd3c07
src/hooks/calendar.ts
@@ -8,7 +8,6 @@ import fetch from "node-fetch";
8
import cron from "node-cron";
9
import { config } from "../config";
10
import he from "he";
11
-import { client } from "..";
12
13
// Google Calendar Props Interface
14
interface GoogleCalendarProps {
@@ -414,7 +413,7 @@ export async function execute(client: Client) {
414
413
415
try {
416
// Check events on a schedule
417
- cron.schedule("0 8 * * *", async () => hookLogic(client, preWebhook));
+ cron.schedule("30 9 * * *", async () => hookLogic(client, preWebhook));
418
cron.schedule("0 12 * * *", async () => hookLogic(client, webhook));
419
// Catch any errors
420
} catch (err: unknown) {
0 commit comments