[Asterisk-Users] asterisk -rx under cron?
James H. Cloos Jr.
cloos at jhcloos.com
Thu Jun 19 11:42:15 MST 2003
>>>>> "Christopher" == Christopher Arnold <chris at terrabee.net> writes:
Christopher> But is asterisk -rx "show channels" really not meant to
Christopher> work from cron or an noninteractive script? If so i guess
Christopher> some documentaion about the limitations would help other
Christopher> folks out there.
You may need to do some 'creative quoting'. Try backslash escaping
the quotes in the script. Or put it in a script and have the crontab
call that script.
I've generally had more luck calling a script than putting complex
commands in the crontab; some versions of cron over the years have
been known to just break on whitespace, w/o taking account of quotes
et al....
-JimC
More information about the asterisk-users
mailing list