On Fri, 2005-12-09 at 15:31 -0800, Min Hwan Chang wrote:
> Currently I'm using the daily reboot script for asterisk and I was
> just wondering what the following line actually does:
> while /bin/ps ax | /bin/grep '[s]afe_asterisk' >/dev/null; do sleep 5; done


(a) Check for an asterisk process
    If it doesn't exist then exit of of the loop immediately
    If it does exist, wait 5 seconds then start again at (a)

Pete

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to