Page 1 of 1

PHP richtig per Cron aufrufen

Posted: 2004-07-24 09:48
by sierra
Hallo,

ich möchte eine PHP Script täglich per Cron ausführen lassen.

Mein Eintrag: /usr/bin/php4 /var/www/web26/html/rechon/modules/AutoFakt/cron.php

Der Fehler, der mir angezeigt wird:

Code: Select all

Ausgabe des Befehls /usr/bin/php4 /var/www/web26/html/rechon/modules/AutoFakt/cron.php ..
Warning: main(../../constants.req.php): failed to open stream: No such file or directory in /var/www/web26/html/rechon/modules/AutoFakt/cron.php on line 8
Fatal error: main(): Failed opening required '../../constants.req.php' (include_path='.:/usr/share/php') in /var/www/web26/html/rechon/modules/AutoFakt/cron.php on line 8
Wie er sagt, findet er die constants.req.php nicht. Hat jemand eine Idee wodran es liegen könnte?


Gruss

Sierra

Re: PHP richtig per Cron aufrufen

Posted: 2004-07-24 10:58
by bungeebug
1) Die Datei ist wirklich nicht da?
2) Du hast ein CHROOT gebaut und dich sellbst überlistet?