Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

change cron schedule

Steven Teyecfc77981d6e
diff --git a/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts b/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts
index 71911480ea..bf8489a552 100644
--- a/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts
+++ b/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts
@@ -8,7 +8,7 @@ import { logAndRespond } from "../utils";
export const dynamic = "force-dynamic";
// This route is used to trigger withdrawal from Stripe (since we're using manual payouts)
-// Runs twice a day at midnight and noon UTC (0 0 * * * and 0 12 * * *)
+// Runs twice a day at 1AM and 1PM UTC (0 1,13 * * *)
export async function GET(req: Request) {
try {
await verifyVercelSignature(req);
diff --git a/apps/web/vercel.json b/apps/web/vercel.json
index b07f6b7a12..b9017d7064 100644
--- a/apps/web/vercel.json
+++ b/apps/web/vercel.json
@@ -46,7 +46,7 @@
},
{
"path": "/api/cron/trigger-withdrawal",
- "schedule": "0 0,12 * * *"
+ "schedule": "0 1,13 * * *"
},
{
"path": "/api/cron/trigger-backup",