3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-09 12:40:07 +01:00

fix: default cron schedule

This commit is contained in:
kolaente
2022-01-06 13:04:53 +01:00
parent 63ed7deb5e
commit 0fa49eb44b
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ The cron schedule at which the backup job runs, using the common unix cron synta
Check out [crontab.dev](https://crontab.dev/) for a nice explanation of the schedule.
Default: `* */6 * * * *` (every 6 hours)
Default: `0 */6 * * *` (every 6 hours)
### `BACKUP_MAX`

View File

@@ -33,7 +33,7 @@ const (
func init() {
config = &conf{
Folder: "/backups/",
Schedule: "* */6 * * * *",
Schedule: "0 */6 * * *",
MaxBackups: 12,
}