mirror of
https://github.com/xzeldon/vwdump.git
synced 2025-07-17 06:46:10 +03:00
Change execution schedule (#5)
**README** - Changed `CRON_TIME` in `docker-compose`. - Added info on when the script runs. **Dockerfile** - Changed execution schedule from 5am everyday to every 12 hours.
This commit is contained in:
@ -24,7 +24,7 @@ services:
|
||||
- "/etc/localtime:/etc/localtime:ro" # Container uses date from host.
|
||||
environment:
|
||||
- DELETE_AFTER=30 #optional
|
||||
- CRON_TIME=* */4 * * *
|
||||
- CRON_TIME=* */24 * * * # Runs every 24 hours.
|
||||
- UID=1024
|
||||
- GID=100
|
||||
```
|
||||
@ -35,7 +35,7 @@ services:
|
||||
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| UID ⭐| User ID to run the cron job as. |
|
||||
| GID ⭐| Group ID to run the cron job as. |
|
||||
| CRON_TIME 👍| When to run. Info [here](https://www.ibm.com/docs/en/db2oc?topic=task-unix-cron-format) and generator [here](https://crontab.guru/) |
|
||||
| CRON_TIME 👍| When to run (default is every 12 hours). Info [here](https://www.ibm.com/docs/en/db2oc?topic=task-unix-cron-format) and editor [here](https://crontab.guru/). |
|
||||
| DELETE_AFTER 👍| Delete backups _X_ days old. _(unsupported at the moment)_ |
|
||||
|
||||
#### Optional
|
||||
|
Reference in New Issue
Block a user