curl-library
Re: cacert.pem updates in real time
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 2 Jul 2016 14:27:23 +0200
Received on 2016-07-02
Date: Sat, 2 Jul 2016 14:27:23 +0200
On Sat, Jul 02, 2016 at 01:33:23PM +0200, Tim Rühsen wrote:
> (Bash me for suggesting to use wget ;-))
>
> $ wget -N http-url
>
> only downloads the file if the timestamp changed.
> So there is not much data traffic in the case when the server hasn't a new
> one.
>
> I would run this every X minutes and compare the file date before and after
> 'wget ...'. If it changed, you know there has been new data arrived.
>
> But maybe there is a similar curl option that I am not aware off.
Like --time-cond?
>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
- application/pgp-signature attachment: stored