|
|
 |
Re: FN-FORUM Cron and php
date posted 1st February 2003 17:00
John,
suppressing output with:
41 * * * * root lynx -dump -nolog http://www..../path/script.php &> /dev/null
should do it, I think.
Graham
> Any suggestions?
>
> am running a php script using the cron demon. With the command:
>
> 41 * * * * root lynx -dump -nolog http://www..../path/script.php
>
> in the crontab file. This fires the script at 41 mins past each
> hour no problem, and the script works fine.
>
> Problem is that it sends an email header each time.
> So was wondering if anyone knows how to stop the emails being sent.
> As you can see I tried using -nolog that is supposed to stop this or so
> I thought, but the emails keep coming ---- any ideas.
>
> Or... does any one know how to script a perl script to run a php script?
> then I can execute the perl via cron instead.
>
> any suggestions much appreciated.
>
> cheers
> john
> ========
> Freelancers and Freelance Jobs: http://www.freelancers.net
>
> Advertise with Freelancers.net http://www.freelancers.net/advert.php
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email: [EMAIL REMOVED]
>
Graham Stark
The Institute for Fiscal Studies
7 Ridgmount Street, London, WC1E 7AE, UK
work: (+044) 020 7291 4837 fax: (+044) 020 7323 4780
home: 01908 618239
http://www.ifs.org.uk/~graham_s
|
 |
|