Hello, A client of mine is using ISPconfig's hosting control panel and trying to setup a cron job using "Sites > Cron jobs". Cron job looks like this - Code: */5 * * * * php -f /var/www/domain.com/tmp/application/cron.php > /var/www/domain.com/tmp/test.log The problem is, the "test.log" file is being created empty - Code: -rw-r--r-- 1 web4 client2 0 2009-12-22 04:35 test.log The right output should be - Code: 2009-12-21 04:35:49: start... 2009-12-21 04:36:34: done... Can somebody suggest why this is not working? Thanks in advance!
I guess the php interpreter is not found on your system. Use the full path to php in your command like: /usr/bin/php -f /var/www/domain.com/tmp/application/cron.php > /var/www/domain.com/tmp/test.log