3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-10 21:20:08 +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. 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` ### `BACKUP_MAX`

View File

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