Re: Quick way to tell if online for use in cron script?
"Wayne" == Wayne Topa <wtopa@dmcom.net> writes:
> This may help
> ____[ cut here ]____ #!/bin/sh # Script to inform users that ppp is
> up # # Called from cron every 5 minutes
> if [ -e /var/run/ppp0.pid ]; then /usr/local/bin/play
> /usr/lib/sounds/pppisup.au fi
> ____[ cut here ]____
Beauty, just what I needed, thanks.
=wl
--
Albert ``Willy'' Lee, Emacs user, game programmer
"They call me CRAZY - just because I DARE to DREAM of a RACE of
SUPERHUMAN MONSTERS!"
Reply to: