On Wed, 2003-06-18 at 17:01, Christopher Arnold wrote: > Hi all, > > i would likte to do an "asterisk -rx show channels" regulary from cron and > save the results. Easy it may seem, but when running the command from cron > "sip*CLI> " is the only result. > > Even expect seems to have problems with getting results from asterisk. > > Is it possible to solve the above problem?
I'm testing my guess right now, but I am guessing you need to quote the show channels command. So from /etc/crontab you would have an entry like... 0,10,20,30,40,50 * * * * root asterisk -rx "show channels" -- Steven Critchfield <[EMAIL PROTECTED]> _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
