Find the answer to your Linux question:
Results 1 to 7 of 7
Is there a program avalible that will let me choose a certain time and it will let me run commands e.g tell it to shut down my computer at a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    29

    Question Auto Shut Down


    Is there a program avalible that will let me choose a certain time and it will let me run commands e.g tell it to shut down my computer at a certain time?

  2. #2
    Just Joined! richiefrich's Avatar
    Join Date
    May 2006
    Location
    Houston
    Posts
    88
    shutdown -h TIME

    change the TIME I'm not sure if thats minutles or seconds but you can read the man page

    man shutdown

    and you also need to be root to run it

  3. #3
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    If you're wanting to schedule more than just a shutdown, crontab is the tool generally used for running commands on a recurring schedule.
    Stand up and be counted as a Linux user!

  4. #4
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2
    Quote Originally Posted by Zelmo
    If you're wanting to schedule more than just a shutdown, crontab is the tool generally used for running commands on a recurring schedule.

    can anybody tell me how to post my problem on linux forum .........i am new with it

  5. #5
    Just Joined! Sam Liu's Avatar
    Join Date
    Aug 2006
    Location
    USA baby
    Posts
    78
    you click "New Thread" under an applicable category/topic, then state your problem clearly, and make a 1 line summary version as the title. =]

  6. #6
    Just Joined!
    Join Date
    May 2010
    Posts
    1

    Shut Down Automatically

    You can use Crontab to shutdown your Linux Machine

    #crontab -e

    You got a new screen paste this command and change as per your requirement

    0 20 * * * /sbin/shutdown -h now

    By this command your Linux Machine will shutdown automatically at 8 PM every day



  7. #7
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Thread is really old, so locking this one, guys!
    oz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •