Re:Shell Style Guide
by tomc1985 on Tuesday May 15, 2018 @01:36PM
(#17075847)
/usr/bin/env anything is a pain to use with cronjobs
[ Parent
| on HN ]
I don't have much experience with cronjobs, but is $PATH not set-up properly in their environment?
I don't remember exactly but it may be $PATH.
I run into this trying to run rvm-managed Ruby scripts in cronjobs. The solution (IIRC) is to explicitly reference the interpreter you want to run in the cronjob line.