<br><br><div class="gmail_quote">2009/12/10 Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Dec 10, 2009 at 08:02:22AM +0100, Olivier wrote:<br>
> 2009/12/9 Michelle Dupuis <<a href="mailto:support@ocg.ca">support@ocg.ca</a>><br>
><br>
> > I'm running * 1.4 and can successfully restart asterisk from the command<br>
> > line with:<br>
> > /usr/sbin/asterisk -r -x "restart gracefully"<br>
> ><br>
> > However, I have a cron job that tries to restart asterisk and gets this<br>
> > error:<br>
> > No such command 'restart gracefully' (type 'help restart gracefully' for<br>
> > other possible commands)<br>
> ><br>
> > Can anyone think of why this is happening?<br>
> ><br>
> ><br>
><br>
> I've met a situation where a call remained active tough obviously, no one<br>
> was talking to anyone.<br>
> This kept gracefully restart from working.<br>
><br>
> So, would a 'restart now' behave differently ?<br>
<br>
</div>Why would one want a daily sabotage of the system in the first place?<br></blockquote><div><br>Reading this thread, I wondered why a gracefully restart wouldn't work in the first place and focused my modest contribution on this.<br>
<br>You're right that a daily "restart now" in not recommended.<br>IMHO, for daily maintenance, taking this specific case (a ghost call is keeping "restart gracefully" from running) into account is necessary.<br>
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>