[svlug] need an uptime birthday script
Don Marti
dmarti at zgp.org
Mon Jun 22 06:54:17 PDT 2009
begin Seth David Schoen quotation of Fri, Jun 19, 2009 at 04:42:29PM -0700:
> For almost all practical purposes, the answer would be that a sleeping
> process consumes only non-CPU resources like memory.
How about a compromise -- put in a daily cron job
that will check the uptime, and if there's a birthday
coming up in the next 24 hours, sleep until the
birthday then send the mail? If you reboot during
that 24 hours the process dies and the mail doesn't
get sent.
--
Don Marti +1 510-332-1587 mobile
http://zgp.org/~dmarti/
dmarti at zgp.org
See you at OpenSource World: August 11-13, 2009 in San Francisco
More information about the svlug
mailing list