On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis <[email protected]> wrote:

> I'm running * 1.4 and can successfully restart asterisk from the command
> line with:
> /usr/sbin/asterisk -r -x "restart gracefully"
>
> However, I have a cron job that tries to restart asterisk and gets this
> error:
> No such command 'restart gracefully' (type 'help restart gracefully' for
> other possible commands)
>
> Can anyone think of why this is happening?
>
> Thanks
>

Maybe you need to escape your quotes (\"restart gracefully\") in your
script?

Just a thought...


-- 
Thanks,
--Warren Selby
http://www.selbytech.com
_______________________________________________
-- 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

Reply via email to