On Wed, Dec 09, 2009 at 03:28:19PM -0600, Warren Selby wrote:
> 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?
Huh? As you can see, Asterisk got the string as-intended. No need for
funny quoting tricks.
--
Tzafrir Cohen
icq#16849755 jabber:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/tzafrir
_______________________________________________
-- 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