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

Lyle Giese lyle at lcrcomputer.net
Wed Dec 9 19:47:24 CST 2009


Doug Lytle wrote:
> 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
>
>   
You probably don't need the single or double quotes at all. I have never
used any quoting in crontab.

Lyle Giese
LCR Computer Services, Inc.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091209/c1e62c48/attachment.htm 


More information about the asterisk-users mailing list