In crontab, allways use full paths to executable files |
If you use linux crontab to automate some processes, allways use full path to scripts or other executable files.
Recently, I was writing one script, which uses munpack utility. Tested it - worked with no problems. After adding script to crontab, to do this routine daily, I've noticed, that something is wrong.
Problem was, that munpack was in /usr/local/bin/bin/munpack directory, and there was created symlink /usr/local/bin/munpack.
So, crontab didn't follow symlink.




