> While thinking about it, you could have a single program (run from init
> perhaps) that:
> 1) Watches for the timestamp being older than x minutes
> 2)  Generates a file to drop in the outbound directory every few minutes
> 3)  Reads a config file on each loop so you can change the settings (i.e.
> turn it off, lengthen time of each loop)

What if that process gets killed or produces an error? I think it
would be better to use cron to start the prog every minute or so.

> It's important to be able to stop the watchdog easily, as it makes it hard
> to do maintenence when the watchdog keeps bringing the server back up....
> :-)

Deactivate the cron job or make the prog check for a 'lock'-file...

-- 
Maik Schmitt        http://graphics.cs.uni-sb.de/VoIP

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to