Fix cronjob example (#6707)

Related PR:
https://github.com/rancher/rke2-docs/pull/38

Signed-off-by: Akos Elek <akose73@tazerve.hu>
This commit is contained in:
Akos Elek 2023-01-30 19:52:22 +01:00 committed by GitHub
parent 0d4caf4e24
commit 9fcc7c0db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -339,7 +339,7 @@ var ServerFlags = []cli.Flag{
}, },
&cli.StringFlag{ &cli.StringFlag{
Name: "etcd-snapshot-schedule-cron", 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, Destination: &ServerConfig.EtcdSnapshotCron,
Value: "0 */12 * * *", Value: "0 */12 * * *",
}, },