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

Attachment: pgpfizguTaCgK.pgp
Description: PGP signature

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to