View Single Post
  #4   (View Single Post)  
Old 7th November 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Quote:
Originally Posted by Petrocelli08 View Post
I relaize I had to use all absolute paths though but that's fine.
Either that, or expand cron's path, like it's done at the top of /etc/crontab. You can do that to root's crontab just as well.

PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

This will cover most bases.
Reply With Quote