Add information about Robfig CRON
This commit is contained in:
parent
0fe19537ca
commit
32a4a299ab
@ -194,7 +194,7 @@ docker exec lwvwv-subscriber /app/subscribe-members.sh /tmp/rosters/members.csv
|
||||
|
||||
### Scheduled Execution (via Ofelia)
|
||||
|
||||
The container includes Ofelia labels for automatic scheduling:
|
||||
The container includes Ofelia labels for automatic scheduling in [Robfig CRON expression](https://pkg.go.dev/github.com/robfig/cron@v1.2.0#hdr-CRON_Expression_Format) format:
|
||||
- **Default**: 4x daily at 00:00, 06:00, 12:00, 18:00
|
||||
- **Format**: Cron expression `0 0 0,6,12,18 * * *`
|
||||
|
||||
@ -202,7 +202,7 @@ To change schedule, edit `docker-compose.yml`:
|
||||
```yaml
|
||||
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 * * *"
|
||||
```
|
||||
|
||||
### Standalone Usage (without Docker)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user