forked from evolix/ansible-roles
evocheck : explicit PATH
By default the PATH set by crontab is "/usr/bin:/bin" so all sbin commands are out of scope.
This commit is contained in:
parent
276177900b
commit
921c0badb8
|
@ -1,4 +1,5 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
PATH=/usr/sbin:/usr/bin:/sbin:/bin
|
||||
33 1 1 * * root /usr/share/scripts/evocheck.sh
|
||||
33 1 2-31 * * root /usr/share/scripts/evocheck.sh --cron
|
||||
|
|
Loading…
Reference in a new issue