From afc97725707dea9608c10e2d8bb710614665659a Mon Sep 17 00:00:00 2001 From: Jonathan D'mello Date: Sat, 17 Jun 2023 11:32:04 +0530 Subject: [PATCH 1/2] feat: updated cron pattern to every 30 seconds --- sample.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample.env b/sample.env index 7e2753bf..53eea0b4 100644 --- a/sample.env +++ b/sample.env @@ -17,7 +17,7 @@ POSTHOG_API_HOST=https://app.posthog.com/ POSTHOG_DISTINCT_KEY=YAUS Events POSTHOG_BATCH_SIZE=20 POSTHOG_FLUSH_INTERVAL=10000 -CLICK_BACKUP_CRON=* * 1 * * * +CLICK_BACKUP_CRON=30 * * * * * # This was inserted by `prisma init`: # Environment variables declared in this file are automatically made available to Prisma. From 50436357c5e1d9046e97a121df4240400e48483d Mon Sep 17 00:00:00 2001 From: Jonathan D'mello Date: Sat, 17 Jun 2023 12:28:01 +0530 Subject: [PATCH 2/2] fix: update cron pattern to run every 30 seconds instead of on the 30th second --- sample.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample.env b/sample.env index 53eea0b4..3962690b 100644 --- a/sample.env +++ b/sample.env @@ -17,7 +17,7 @@ POSTHOG_API_HOST=https://app.posthog.com/ POSTHOG_DISTINCT_KEY=YAUS Events POSTHOG_BATCH_SIZE=20 POSTHOG_FLUSH_INTERVAL=10000 -CLICK_BACKUP_CRON=30 * * * * * +CLICK_BACKUP_CRON=*/30 * * * * * # This was inserted by `prisma init`: # Environment variables declared in this file are automatically made available to Prisma.