daily reboot

Joined
Jan 16, 2009
Messages
45
Points
0
Hi , i wont my elastix reboot once a day how i can do that ?
Thanks for your help .
!!!
 
Joined
Dec 14, 2008
Messages
1,120
Points
0
I'm not a linux guy but I would look into the daily cron job folder with the amportal restart command.
 
Joined
Feb 24, 2007
Messages
338
Points
0
REBOOT SERVER AT 4:15AM DAILY


as root, do:

crontab -e

(should bring up a 'vi' session)

hit 'i'

(goes into insert mode)

type in:

15 4 * * * /sbin/shutdown -r now

hit the escape key twice and the enter ZZ (caps) and vi should save the buffer and exit.

do 'crontab -l' to make sure it worked...
 
Joined
Jan 16, 2009
Messages
45
Points
0
Thanks for the replay , i will test it today .Idint know how to work
inside .Thanks!!
 

Members online

No members online now.

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top