Hallo Vrienden,

Ik ben op het moment cronjobs aan het invoeren bij cpanel, elke keer dat hij wordt uitgevoerd dan krijg ik een mail met de output.
Eerst had ik het probleem dat hij het bestand niet kon vinden, dat heb ik inmiddels opgelost. Maar nu zit ik met het volgende:

Ik krijg deze errors:

/home/mrfix/public_html/devious/cron/organize.php: line 1: ?php: No such file or directory
/home/mrfix/public_html/devious/cron/organize.php: line 2: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 3: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 4: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 5: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 5: //: is a directory
/home/mrfix/public_html/devious/cron/organize.php: line 6: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 7: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 9: /aquota.user: Permission denied
/home/mrfix/public_html/devious/cron/organize.php: line 11: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 12: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 13: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 14: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 16: /aquota.user: Permission denied
/home/mrfix/public_html/devious/cron/organize.php: line 18: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 19: =: command not found
/home/mrfix/public_html/devious/cron/organize.php: line 21: syntax error near unexpected token `('
/home/mrfix/public_html/devious/cron/organize.php: line 21: `$product = explode(",",$producten);'


Zoals je ziet bij elke regel een error, het hele bestand bestaat wel uit meerdere regels.

Kan dit te maken hebben met dat het een php file is, maar dat moet toch kunnen of kan het alleen cgi bestanden.

Zo ja, kan iemand mij dat uitleggen?

Mvg,
Peter Wessels

P.s. Geen gezeik dat ik crons gebruik!
Dan verwijs ik je graag hierheen: http://phphulp.nl/forum/showtopic.php?cat=1&id=47091
;)
Opgelost, php voor het command zetten;)

Reageren