I am having trouble using php as a script.

#!/usr/local/bin/php
<?php
    ... stuff ...
?>

using the above form creates the following cron error:

/bin/sh: /usr/local/apache/sites/domain.com/tasks/autoreport/test.php: bad
interpreter: No such file or directory

Any ideas?

Thanks in advance...


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/03



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to