From afbf2ecae983fffec991259d9cae1b5809ecb6da Mon Sep 17 00:00:00 2001 From: Akos Elek <47024989+akose73@users.noreply.github.com> Date: Sat, 7 Jan 2023 21:34:56 +0100 Subject: [PATCH] Fix cronjob example Related PR: https://github.com/rancher/rke2-docs/pull/38 Signed-off-by: Akos Elek --- pkg/cli/cmds/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/cmds/server.go b/pkg/cli/cmds/server.go index 6826be50ad75..fe02a44fd082 100644 --- a/pkg/cli/cmds/server.go +++ b/pkg/cli/cmds/server.go @@ -339,7 +339,7 @@ var ServerFlags = []cli.Flag{ }, &cli.StringFlag{ Name: "etcd-snapshot-schedule-cron", - Usage: "(db) Snapshot interval time in cron spec. eg. every 5 hours '* */5 * * *'", + Usage: "(db) Snapshot interval time in cron spec. eg. every 5 hours '0 */5 * * *'", Destination: &ServerConfig.EtcdSnapshotCron, Value: "0 */12 * * *", },