evocheck : explicit PATH
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
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 }}
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
|
PATH=/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
33 1 1 * * root /usr/share/scripts/evocheck.sh
|
33 1 1 * * root /usr/share/scripts/evocheck.sh
|
||||||
33 1 2-31 * * root /usr/share/scripts/evocheck.sh --cron
|
33 1 2-31 * * root /usr/share/scripts/evocheck.sh --cron
|
||||||
|
|
Loading…
Reference in a new issue