Solved

Trixbox Configure automatic nightly reboot

Posted on 2008-06-23
5
850 Views
Last Modified: 2008-07-09
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
Comment
Question by:mark_06
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21844126
Setup a cronjob

crontab -e

and add a line saying

00 2 * * * /sbin/shutdown now
0
 
LVL 6

Author Comment

by:mark_06
ID: 21844133
will that reboot the computer or just shut it down?
0
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21844145
Try this

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

0
 
LVL 10

Accepted Solution

by:
PeturIngiEgilsson earned 500 total points
ID: 21844560
If /sbin/shutdown -r now, does not work use "00 2 * * * init 6" or "00 2 * * * telinit 6"
0
 
LVL 3

Expert Comment

by:darkmooink
ID: 21844586
why would you want to?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question