Find the answer to your Linux question:
Results 1 to 2 of 2
I use: * 6 * * * /home/user/scripts/restartscript Now that script shall run every day at 06:00 ? I restartscript i have #! /bin/sh init 6 exit 0 But the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    42

    Cron problem!

    I use:

    * 6 * * * /home/user/scripts/restartscript

    Now that script shall run every day at 06:00 ?

    I restartscript i have

    #! /bin/sh
    init 6
    exit 0

    But the computer wont restart, why?

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    did you try use init as a simple user?
    only root can do that

Posting Permissions

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