>$!/bin/sh >if ! ntpq|grep '* name.of.router'>/dev/null; then > mail -s "NTP sync has been lost" [EMAIL PROTECTED] >fi > >And put the shell script into crontab to run every minute. >(your milage may vary)
That could lead to a lot of clutter in your mailbox. -- These are my opinions, not necessarily my employer's. I hate spam. _______________________________________________ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions