On Wed, 23 Jan 2008, Mojo with Horan & Company, LLC wrote: > Steve Edwards wrote: >> Or, as a quick & dirty... >> DATE=$(date +%F-%H-%M-%S) >> COUNT=$(sudo /usr/sbin/asterisk -r -x "sip show channels" | wc -l) >> echo $DATE $COUNT >>/tmp/channel-counts >> >> in a shell script executed every second in cron. >> > every *second* from cron? how the heck would I you do that? sub-minute > accuracy from cron is something I don't know how to do.
Sheese -- that's what I get by trying to type without putting down the crack pipe :) You're right -- the "*" in the first column of your crontab means minutes, not seconds. Thanks in advance, ------------------------------------------------------------------------ Steve Edwards [EMAIL PROTECTED] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users