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