[asterisk-users] asterisk issue
Danny Nicholas
danny at debsinc.com
Fri Jun 18 13:03:49 CDT 2010
Crontab -e will open your crontab for editing (if you are root)
Add this line
45 4 * * * /usr/sbin/asterisk -rx "restart when convenient"
And exit the editor
This will restart your asterisk at 4:45 am every day unless a call is active
at that time. If a call is active, asterisk will restart when the call
hangs up.
If you want to "Damn the torpedoes", change "when convenient" to "now".
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of salaheddine
elharit
Sent: Friday, June 18, 2010 12:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] asterisk issue
thanks for your response
how can i create and execute this cron
2010/6/18 Danny Nicholas <danny at debsinc.com>
I do a cron to execute "/usr/sbin/asterisk -rx "restart when convenient" "
each day at 4:45 AM. This doesn't really "solve" any problems, just does
"housekeeping" to keep a clean environment, since some installs/os'es lend
themselves to memory leaks.
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of salaheddine
elharit
Sent: Friday, June 18, 2010 5:13 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] asterisk issue
Hello,
I have a problem in Asterisk 1.4 each day I need to restart asterisk service
asterisk restart in order to unblock the calls
My question how can I do in order to check the issue, and if there is any
tool or log?
Thanks and regards.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com
<http://www.api-digital.com/> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100618/f2e4feb4/attachment.htm
More information about the asterisk-users
mailing list