Solved

Trixbox Configure automatic nightly reboot

Posted on 2008-06-23
5
847 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtualizing very old guest OS 4 80
Python variable _ manually assigned 9 65
Backup & Restore 3 47
mcrypt_create_iv() is deprecated 4 76
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now