Trixbox Configure automatic nightly reboot

Hi,

I am running Trixbox 2.2.4 and I want to configure it so that each night at say 2.00am it reboots itself. How do I configure this in linux?

Thanks

Mark
LVL 6
mark_06Asked:
Who is Participating?
 
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
If /sbin/shutdown -r now, does not work use "00 2 * * * init 6" or "00 2 * * * telinit 6"
0
 
http:// thevpn.guruCommented:
Setup a cronjob

crontab -e

and add a line saying

00 2 * * * /sbin/shutdown now
0
 
mark_06Author Commented:
will that reboot the computer or just shut it down?
0
 
http:// thevpn.guruCommented:
Try this

00 2 * * * /sbin/shutdown -r now

0
 
darkmooinkCommented:
why would you want to?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.