Corrects scheduling format to 6 fields (seconds) per Ofelia's robfig/cron/v1

format
This commit is contained in:
Jonathan Rosenbaum 2026-05-05 12:38:15 -04:00
parent 478d54a8d4
commit 0fe19537ca
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ docker exec lwvwv-subscriber /app/subscribe-members.sh /tmp/rosters/members.csv
The container includes Ofelia labels for automatic scheduling: The container includes Ofelia labels for automatic scheduling:
- **Default**: 4x daily at 00:00, 06:00, 12:00, 18:00 - **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`: To change schedule, edit `docker-compose.yml`:
```yaml ```yaml

View File

@ -22,7 +22,7 @@ services:
# Ofelia labels for scheduling (4x daily) # Ofelia labels for scheduling (4x daily)
labels: labels:
ofelia.enabled: "true" 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.container: "lwvwv-subscriber"
ofelia.job-exec.lwvwv-subscribe.command: "/app/run-subscription.sh" ofelia.job-exec.lwvwv-subscribe.command: "/app/run-subscription.sh"
restart: always restart: always