in reply to web page update notifier
In this snippet, you actually download the whole file each time you (cron) run(s) the script. Wouldn't it be nicer if you'd just ask for a HEAD and check the "Last-Modified" header and do some local testing on that?
$ HEAD http://www.server.tld/page.htm | grep "Last-Modified"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: web page update notifier
by Juerd (Abbot) on Jun 17, 2004 at 21:16 UTC | |
by BrowserUk (Patriarch) on Jun 17, 2004 at 21:35 UTC | |
by Juerd (Abbot) on Jun 17, 2004 at 22:27 UTC |