Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Frndz I am practicing on "crontab" and am able to get system status in time but I want to shut my system through crontab. #15 12 11 06 thu ...
  1. #1
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119

    How to shutdown system through crontab

    Hi Frndz

    I am practicing on "crontab" and am able to get system status in time but I want to shut my system through crontab.

    #15 12 11 06 thu init 0


    It doesn't work So, Plz help me........


    Thanks in Advance

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    Try using the 'shutdown' command. You might want to put it in a script, too, and put the script reference in crontab.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

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