Set PATH in crontab file.
This commit is contained in:
parent
fecacf36d9
commit
ff191a5954
@ -46,3 +46,11 @@
|
|||||||
user: "root"
|
user: "root"
|
||||||
cron_file: borgmatic
|
cron_file: borgmatic
|
||||||
job: "/usr/local/bin/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
|
Loading…
Reference in New Issue
Block a user