|
Dear All,
I have had a
problem that I have posted before, the asterisk kept crashing on me. I have
thought that may be before the problem is resolved, I could try to implement a
cronjob to run /usr/sbin/safe_asterisk, and if Asterisk is not running at that
time, it will start it automatically.
I have read
through documents and I have tried a few things. I have tried adding a file
called start_asterisk under /etc/cron.d directory and have put 15 * * * *
/usr/sbin/safe_asterisk, I have even tried using /var/spool/cron/root and
inputted the same command line. I even tried actually putting this command line
in the crontab file under /etc/ but I just could not get the Asterisk to start
automatically. Finally, the crond seemed to be doing something, but when I
received mail from crond, it was telling me a message saying " Asterisk exited
on code 127, Asterisk died on code 127 ". So, I changed the command line to 15 *
* * * root /usr/sbin/safe_asterisk. Now as per the mail, it is telling me that
"Asterisk exited on code 1, Asterisk died on code 1".
Ladies and
Gentlemen, can anyone please help and let me know what is the way to start
Asterisk automatically using a cronjob, thanks
Tommy
|
- Re: [Asterisk-Users] (no subject) Adam Hart
- Re: [Asterisk-Users] (no subject) Nick Bachmann
- Re: [Asterisk-Users] (no subjec... Adam Hart
- Re: [Asterisk-Users] (no subject) Nicolas Gudino
- Re: [Asterisk-Users] (no subject) Olle E. Johansson
- [Asterisk-Users] (no subject) mick
- Re: [Asterisk-Users] (no subject) matt
- Re: [Asterisk-Users] (no subject) Philipp von Klitzing
- Re: [Asterisk-Users] (no subject) Andrew Kohlsmith
- [Asterisk-Users] (no subject) T. Chan
- [Asterisk-Users] (no subject) Brent Franks
- Re: [Asterisk-Users] (no subject) Steven Critchfield
- RE: [Asterisk-Users] GotoIF & Variables Ray Burkholder
- RE: [Asterisk-Users] GotoIF & Variab... Brent Franks
- [Asterisk-Users] (no subject) Aram Ter-Martirosyan
- [Asterisk-Users] (no subject) T. Chan
- Re: [Asterisk-Users] (no subject) Jeremy McNamara
- [Asterisk-Users] (no subject) Cullen Simpson
- [Asterisk-Users] (no subject) arohde
- [Asterisk-Users] Apple OS-X Martin Hunt
