remote access.

Gert Doering (gert@greenie.muc.de)
Thu, 12 Aug 1999 09:45:21 +0200


Hi,

On Thu, Aug 12, 1999 at 01:51:29PM +1000, Benjamin Lee wrote:
> okay so i'm starting to seriously have a look at "grep"-ing the mgetty log
> file... however...
> 
> i want to call my grep-ing program ONLY when the phone RINGS. i don't
> really want to monitor the log file for changes. ;-( (with cron or
> something)

"tail -f log | <process>" -> so the script will run all the time, but
won't use CPU if nothing happens.

> so, correct me if i'm wrong... but i tried to used cnd-program... however,
> i think cnd-program ONLY runs if there IS actually CND information

No. cnd-program is always run, but doesn't tell you (yet) the number of
RINGs that mgetty has seen.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de