From 0fe19537ca3a5fc90c1370afd5539110111280fd Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Tue, 5 May 2026 12:38:15 -0400 Subject: [PATCH] Corrects scheduling format to 6 fields (seconds) per Ofelia's robfig/cron/v1 format --- automation/README.md | 2 +- automation/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/README.md b/automation/README.md index 049008a..9cd7507 100644 --- a/automation/README.md +++ b/automation/README.md @@ -196,7 +196,7 @@ docker exec lwvwv-subscriber /app/subscribe-members.sh /tmp/rosters/members.csv The container includes Ofelia labels for automatic scheduling: - **Default**: 4x daily at 00:00, 06:00, 12:00, 18:00 -- **Format**: Cron expression `0 0,6,12,18 * * *` +- **Format**: Cron expression `0 0 0,6,12,18 * * *` To change schedule, edit `docker-compose.yml`: ```yaml diff --git a/automation/docker-compose.yml b/automation/docker-compose.yml index 441fa0e..587cdef 100644 --- a/automation/docker-compose.yml +++ b/automation/docker-compose.yml @@ -22,7 +22,7 @@ services: # Ofelia labels for scheduling (4x daily) labels: ofelia.enabled: "true" - ofelia.job-exec.lwvwv-subscribe.schedule: "0 0,6,12,18 * * *" + ofelia.job-exec.lwvwv-subscribe.schedule: "0 0 0,6,12,18 * * *" ofelia.job-exec.lwvwv-subscribe.container: "lwvwv-subscriber" ofelia.job-exec.lwvwv-subscribe.command: "/app/run-subscription.sh" restart: always