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"
In reply to Re: web page update notifier
by b10m
in thread web page update notifier
by Juerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |