Skip to content

Commit

Permalink
Fix cronjob example
Browse files Browse the repository at this point in the history
Related PR:
rancher/rke2-docs#38

Signed-off-by: Akos Elek <[email protected]>
  • Loading branch information
aelek73 committed Jan 9, 2023
1 parent f0ec6a4 commit afbf2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/cmds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 * * *",
},
Expand Down

0 comments on commit afbf2ec

Please sign in to comment.