From 81e4de7279e9142c96ae177a9d7be4b29d6f3bd3 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Fri, 8 Sep 2023 15:17:06 +0200 Subject: [PATCH] Fix fill pk schedule to run on the intended times The `*` overrides anything that follows. --- h_periodic/h_beat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h_periodic/h_beat.py b/h_periodic/h_beat.py index f9f8897..3f2cec7 100644 --- a/h_periodic/h_beat.py +++ b/h_periodic/h_beat.py @@ -55,7 +55,7 @@ "fill-annotations-pk": { "options": {"expires": 30}, "task": "h.tasks.annotations.fill_pk_and_user_id", - "schedule": crontab(hour="*,9-12", minute="*/15"), + "schedule": crontab(hour="9-12", minute="*/15"), "kwargs": {"batch_size": 10000}, }, "report-sync-annotations-queue-length": {