[asterisk-users] Can't restart asterisk from script

Michelle Dupuis support at ocg.ca
Wed Dec 9 19:45:21 CST 2009


But my command works from a bash command line...so something is fishy!

I want to solve this mystery

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Doug Lytle
Sent: Wednesday, December 09, 2009 8:27 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] Can't restart asterisk from script

Warren Selby wrote:
> On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis <support at ocg.ca 
> <mailto:support at ocg.ca>> wrote:
>
>     I'm running * 1.4 and can successfully restart asterisk from the
>     command
>     line with:
>     /usr/sbin/asterisk -r -x "restart gracefully"
>

I have the following cron job:

/usr/sbin/asterisk -r -x 'restart when convenient'

Doug

--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety."


_______________________________________________
-- 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




More information about the asterisk-users mailing list