1/28 Are there any unix-based scripts that will periodically check a
webpage to see if it has changed? I know such a tool is not that
complex to write, but why reinvent the wheel? Thanks.
\_ some hints: lynx > out. diff. cron. notify (email probably).
\_ I think that you can have curl and wget send an IMS header.
\_ Damn... stop with the curl thing. You don't need to install and
learn yet-another-scripting-language to do something this
trivial. Curl is not going to change the universe.
\_ Are you confusing curl the unix utility with curl the
stupid scripting language from MIT?
\_ curl is a little pgm like wget that is installed on
most BSD systems as part of the base or via the ports.
My experience is that it is easier to get curl to send
arbitrary headers than with wget.
I don't know where you got this scripting language thing
from.
\_ Oh you're right. My bad. Yes, I thought you were talking
about the new 'kewl' scripting language from MIT.
\_ if this is for a personal use check <DEAD>netmind.com<DEAD>
\_ There's an HTTP header specifically for this ("If-Modified-Since").
It'd take less time to write the script than to ask. |