# Crontab paths

Admin @ 11 December 2007

If you are using linux crontab to automate some processes, allways use full path to scripts or other executable files.

Recently, I was writing one bash script, which uses munpackutility. 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.

Leave a Reply

Spam protection by WP Captcha-Free