Set PATH in crontab file.

This commit is contained in:
Manu 2018-10-11 15:08:57 +08:00
parent fecacf36d9
commit ff191a5954

View File

@ -46,3 +46,11 @@
user: "root"
cron_file: borgmatic
job: "/usr/local/bin/borgmatic"
- name: Set PATH for borgmatic cron job.
cron:
user: "root"
cron_file: borgmatic
name: PATH
env: yes
value: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin