[Asterisk-Users] Advice sought on how to automatically and sa
fely reboot * box
Colin Anderson
ColinA at landmarkmasterbuilder.com
Wed Apr 13 14:03:49 MST 2005
In /etc/crontab:
0 2 * * * reboot
Runs the reboot command every morning at 2 AM. Works for me.
If you are using a RedHat / Fedora box and you have cron running at startup
as a service your crontab entries should be running as root, so it should
work fine.
cron is super bitchy about extraneous <cr> and <lf> 's in the file, so make
sure you delete any whitespace after your entry.
hth
-----Original Message-----
From: mchapman2 at carolina.rr.com [mailto:mchapman2 at carolina.rr.com]
Sent: Wednesday, April 13, 2005 2:11 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Advice sought on how to automatically and
safely reboot * box
Hi-
I am trying to figure out a way to automatically shutdown and reboot an *
box safely on a set schedule. I have thought about using a CRON job but I am
a newbie when it comes to setting up CRON jobs. I have googled for examples
but I have came up empty. Has anyone on the list setup anything similiar to
what I am wanting to do?
I want to install an * box in a location where the people are not computer
savvy at all...and I want to try and keep my * box up and running without
stability problems for as long as possible. I have read it is recommended to
reboot the * box on a regular basis.
Thanks for any help with this..
Mike C.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list