LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-02-2006, 11:53 AM   #1
jsteegh
LQ Newbie
 
Registered: Feb 2006
Location: The Netherlands
Distribution: Slackware, SuSe, eeeXubuntu
Posts: 14

Rep: Reputation: 0
Automatically shutdown


Hello,

I am running a webserver on slackware for me and my friends for testing and develloping websites etc. But I don't want it to run 24/7, I want it to shutdown every night. Is this possible? Because when I shut the pc down I have to do it as root. Can I have the pc shut itself down whithout me logging in as root or su?

Thanks,
Justin
 
Old 09-02-2006, 01:57 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Just put the /sbin/shutdown command in the crontab of root.
For more info, type `man crontab`.
 
Old 09-09-2006, 11:08 AM   #3
jsteegh
LQ Newbie
 
Registered: Feb 2006
Location: The Netherlands
Distribution: Slackware, SuSe, eeeXubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
Sorry for the late reply, but I've had other more important things on my mind last week and had no time to look here.

But I tried it and it worked. So thanks a lot!
 
Old 09-09-2006, 11:45 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
No problem, I'm glad you got it working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutdown Automatically without switching off power sukhen Linux - Newbie 5 02-13-2006 12:24 PM
Automatically running script at shutdown samac Slackware 2 05-14-2005 10:10 AM
shutdown automatically if linux system is idle for sometime ahalya Linux - Software 1 03-30-2005 12:39 AM
slack doesnt shutdown automatically?? yenonn Slackware 6 01-02-2004 09:38 AM
how to automatically power off after shutdown in redhat7.3(kernel 2.4.20) prad Linux - General 8 12-18-2002 02:37 PM


All times are GMT -5. The time now is 04:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration