Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 863
  • Last Modified:

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
0
mark_06
Asked:
mark_06
1 Solution
 
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
 
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
 
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.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now