View Single Post
Old 22nd February 2011, 17:29
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,628
Thanks: 793
Thanked 4,998 Times in 3,909 Posts

In Linux cronjobs, every command has to be called with its full path as cron does not read the $PATH variable that is sued on the shell. So instead of sh, you have to use

/bin/sh /var/www/

or if the file contains already #!/bin/sh in the first line, then use just:

Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote