1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to reboot with crontab ?

Discussion in 'Plesk for Linux - 8.x and Older' started by callawey, Jan 28, 2006.

  1. callawey

    callawey Guest

    i wish to reboot my server every morning at 6:30 am but it is not worked.

    i edit as so;

    Minute * : 30
    Hour * : 6
    Day of the Month * : *
    Month * :
    Day of the Week * : *
    Command * : reboot

    is it not right ? or how can i do it ?
  2. rvdmeer

    rvdmeer Guest

    I never used the plesk plugin. I can tell you how it works thru ssh.

    Logon to the server thru ssh.
    Make yourself root and type: crontab -e
    Add the line down here...

    30 6 * * * reboot

    Thats it!

    ps... why do you wanna restart the server every morning?
  3. it-biz

    it-biz Guest

    Maybe cron doesnt except reboot, try "/sbin/init 6" instead
  4. callawey

    callawey Guest


    thanks, this method is running