|
|
 |
Re: FN-FORUM: cron q?
date posted 10th June 2005 17:11
Nigel Rogers wrote:
>
> facility still being tested. No emails received.
>
> I'm now cron 'ning a sh file ie /home/flixels/etc/example.sh
>
> example.sh:
>
> #!/bin/sh
> cd /home/flixels/public_html/crm/users/
> php send_emails.php
>
> this returns:
>
> Content-type: text/html
> X-Powered-By: PHP/4.3.10
>
> so something needs changing.
>
> Nigel
>
I'm guessing that the PHP file is written to be run in a web browser.
Running a PHP file from the command line would need the PHP file to be
different (ie no HTML).
Rob
--
www.madmousemedia.co.uk
www.madmouseart.com
|
 |
|