I have a process that runs on a @reboot
cron job. The process needs to run an executable file. I have noticed that I have to put the executable in /usr/bin/
. I can't just put it in a folder in my $PATH
list.
So my question is, if processes run by cron jobs do not look in the $PATH
list of directories, where do they look? Obviously they at least look in /usr/bin/
.
echo "$PATH" >/tmp/cronpath
and get a definitive answer for your environment.. – Chris Davies Jan 18 '20 at 11:33