On Thu 13 Nov 2003, Dan Jacobson wrote:

> >> The challenge: monitor a page every 5 months.
[...]
> My machine is unplugged and cold most of each day, probably including
> the vital moment when month 5 arrives, also maybe this would only do
> May, Oct, May, Oct, also the machine making a special call behind my
> back would make me think it had been infected by daemons and would be
> an inefficient use of phone dollars.

How about creating a script to do the monitoring AND to schedule the
next monitoring? Save this as /usr/local/sbin/fetchnerd or so:

#!/bin/sh
wwwoffle -F http://nerdclub.bla/login
echo /usr/local/sbin/fetchnerd | at now +5 months

chmod +x the script, and bootstrap it by running it once. From then on,
it'll run every 5 months. Of course, don't run it by hand more than
once, otherwise there will be multiple at jobs queued...


Paul Slootman

Reply via email to