Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Location: United States of America and damn proud of it!
Distribution: Ubuntu
Posts: 457
Rep:
Automatic Reboot
Hi,
I am trying to schedule my Linux server to automatically reboot at a specific time of day. I'm trying to find where the command resides that tells the machine to reboot. I'm just going to shove this command into CRON and let it run at specific times. However, as I just said, I don't know where to find the command. Does someone know where it is? Thank you.
My guess would be that Gaim didn't shut down properly when you forced a reboot. It could be a latent setting inside your .gaim or .gaimrc directory (which should be inside your home directory).
Try starting gaim from the CLI. It may give you some additional error information when it fails to load properly.
Location: United States of America and damn proud of it!
Distribution: Ubuntu
Posts: 457
Original Poster
Rep:
Well, I got it now, but my brain has stopped functioning. I'm using KDE, where the heck do I look to see running processes? I think I'll write a short bash script to kill gaim before rebooting and I can't seem to remember where to look to see all of the running processes.
Location: United States of America and damn proud of it!
Distribution: Ubuntu
Posts: 457
Original Poster
Rep:
Hey Tink,
The reboot command is by far the easiest way to do it. Now, to shove this into cron to run, I am stuck again. (You're going to be mad now, I'm sure ) If I want this to run everyday at say 5 PM, can I just dump the command into crontab as it is? ie, where the command line has to be entered, just putting "reboot" there will not do it. So, how would the command have to be formatted there? Would I need to full path to the command listed there?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.