forked from raystack/frontier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: use partition_data_proc * fix: change schedule to every 30 mins * fix: command
- Loading branch information
1 parent
dd54d61
commit cdd69cd
Showing
4 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
Empty file removed
0
internal/store/postgres/migrations/20240603065155_cron_run_maintenance_proc.down.sql
Empty file.
1 change: 0 additions & 1 deletion
1
internal/store/postgres/migrations/20240603065155_cron_run_maintenance_proc.up.sql
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
internal/store/postgres/migrations/20240606061803_cron_run_partition_data_proc.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SELECT cron.unschedule('call-partition_data_proc'); |
1 change: 1 addition & 0 deletions
1
internal/store/postgres/migrations/20240606061803_cron_run_partition_data_proc.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SELECT cron.schedule('call-partition_data_proc', '* 21 * * *', 'CALL partman.partition_data_proc(''public.activities'')'); |