daily reboot

kostasics

Joined
Jan 16, 2009
Messages
45
Likes
0
Points
0
#1
Hi , i wont my elastix reboot once a day how i can do that ?
Thanks for your help .
!!!
 

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#2
I'm not a linux guy but I would look into the daily cron job folder with the amportal restart command.
 

tbooth

Joined
Feb 24, 2007
Messages
338
Likes
0
Points
0
#3
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...
 

kostasics

Joined
Jan 16, 2009
Messages
45
Likes
0
Points
0
#4
Thanks for the replay , i will test it today .Idint know how to work
inside .Thanks!!
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,967
Messages
131,028
Members
17,677
Latest member
John-V
Top