[crontab] Solution for * is not found error

Tadashi Shigeoka ·  Tue, January 23, 2018

I’ll introduce the solution when a script executed by crontab outputs the error message ”* is not found”.

Linux | リナックス

Prerequisite: PATH

The environment variables during cron execution are as follows. Only references /usr/bin and /bin

So I found that if PATH is not set in crontab, errors will occur for commands other than those with PATH to /usr/bin and /bin.

That’s all from the Gemba where the PATH for shell scripts set in crontab was not configured properly.

References