[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] Bug#239097: HTTP Post method for popcon



On Tue, Feb 15, 2005 at 11:36:47AM +0000, Thom May wrote:
> Ubuntu uses POST by default, yes (we don't setup an mta by default). 
> There's no config file; popcon-upload just takes data on stdin.
> the relevant bit of the crontab is simply:
> 
> run_popcon \
>         | tee /var/log/popularity-contest \
>         | /usr/sbin/popcon-upload >/dev/null 2>&1

Hello Thom,
I am considering using HTTP POST as a fall-back method,
so I have more question:

How do you handle http proxy setting ?
What do you do if the network is done when the cronjob run
(sunday 6h47 local time) ?

I have rewritten the CGI to mail the file to localhost instead
(through /usr/lib/sendmail)

Cheers,
Bill.




Reply to: