Debian Sarge 3.1.
I got the following cron setup for on of my crons:
I created the file:
Content:
Quote:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/5 * * * * root /usr/bin/php4 -q -c /etc/php4/syscpcron /var/www/syscp/scripts/cronscript.php
|
(One empty line at the end)
Executing
/usr/bin/php4 -q -c /etc/php4/syscpcron /var/www/syscp/scripts/cronscript.php manually by command line is working fine but with the cron it doesn't work.
That's the error every 5 minutes:
Quote:
Subject: Cron <root@delta551> /usr/bin/php4 -q -c /etc/php4/syscpcron /var/www/syscp/scripts/cronscript.php
X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20060802112001.1DEA8900780@delta551.server4you.de>
Date: Wed, 2 Aug 2006 13:20:01 +0200 (CEST)
Could not open input file: /var/www/syscp/scripts/cronscript.php
|
All files exist and I even chmoded /var/www/syscp/scripts/cronscript.php to 777 but it didn't help.
Could anyone help me out here, please? Thanks a lot!