<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content=text/html;charset=us-ascii http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><SPAN class=009305501-10122009><FONT color=#0000ff
size=2 face=Arial>Interesting...I'll try that.
Thanks</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Lyle
Giese<BR><B>Sent:</B> Wednesday, December 09, 2009 8:47 PM<BR><B>To:</B>
Asterisk Users List<BR><B>Subject:</B> Re: [asterisk-users] Can't restart
asterisk from script<BR></FONT><BR></DIV>
<DIV></DIV>Doug Lytle wrote:
<BLOCKQUOTE cite=mid:4B204E60.2040300@drdos.info type="cite"><PRE wrap="">Warren Selby wrote:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis <<A class=moz-txt-link-abbreviated href="mailto:support@ocg.ca">support@ocg.ca</A>
<A class=moz-txt-link-rfc2396E href="mailto:support@ocg.ca"><mailto:support@ocg.ca></A>> wrote:
I'm running * 1.4 and can successfully restart asterisk from the
command
line with:
/usr/sbin/asterisk -r -x "restart gracefully"
</PRE></BLOCKQUOTE><PRE wrap=""><!---->
I have the following cron job:
/usr/sbin/asterisk -r -x 'restart when convenient'
Doug
</PRE></BLOCKQUOTE>You probably don't need the single or double quotes at
all. I have never used any quoting in crontab.<BR><BR>Lyle Giese<BR>LCR
Computer Services, Inc.<BR><BR><BR></BODY></HTML>