From 0fa49eb44b2d1bd67ea2873933bd6f57a6d90a4f Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 6 Jan 2022 13:04:53 +0100 Subject: [PATCH] fix: default cron schedule --- README.md | 2 +- config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8805cf..866b980 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/config.go b/config.go index ac567e7..18d1d0c 100644 --- a/config.go +++ b/config.go @@ -33,7 +33,7 @@ const ( func init() { config = &conf{ Folder: "/backups/", - Schedule: "* */6 * * * *", + Schedule: "0 */6 * * *", MaxBackups: 12, }