View Single Post
Old 22nd February 2011, 18:29
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 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