Skip to content
Snippets Groups Projects
Commit 62282c66 authored by jurgenhaas's avatar jurgenhaas
Browse files

Adjust CLI syntax for 1.7 and later

parent ef3297bf
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
minute: 0 minute: 0
cron_file: borgmatic cron_file: borgmatic
user: root user: root
job: /usr/local/bin/borgmatic -v 1 --create --prune >> /var/log/borg.log 2>&1 && {{ lookup('healthchecks', '', user='root', jobname='borgmatic', schedule=['0',borgbackup_cron_hour|default('4'),'*','*','*']|join(' '), duration=7200) }} job: /usr/local/bin/borgmatic -v 1 create prune >> /var/log/borg.log 2>&1 && {{ lookup('healthchecks', '', user='root', jobname='borgmatic', schedule=['0',borgbackup_cron_hour|default('4'),'*','*','*']|join(' '), duration=7200) }}
tags: tags:
- cron - cron
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
minute: 30 minute: 30
cron_file: borgmatic cron_file: borgmatic
user: root user: root
job: /usr/local/bin/borgmatic -v 1 --check > /var/log/borg-check.log 2>&1 && {{ lookup('healthchecks', '', user='root', jobname='borgmatic-check', schedule=['30','23','1','*','*']|join(' '), duration=7200) }} job: /usr/local/bin/borgmatic -v 1 check > /var/log/borg-check.log 2>&1 && {{ lookup('healthchecks', '', user='root', jobname='borgmatic-check', schedule=['30','23','1','*','*']|join(' '), duration=7200) }}
tags: tags:
- cron - cron
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment