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 do I schedule restarts?

Discussion in 'Plesk for Linux - 8.x and Older' started by IFeelYourPain, Mar 2, 2008.

  1. IFeelYourPain

    IFeelYourPain Guest

    0
     
    I have a server that is busy. Sometime it will overload and I have to manually restart it. Is it possible to schedule a restart every 2-3 days?
     
  2. dams

    dams Guest

    0
     
    Hello,

    you can add cron task directly in your Cpanel, with the command reboot

    1. Go to Server >> Scheduled Tasks
    2. Select the root user
    3. Click "Add New Task"
    4. Configure the Task with :

    Switched on : checked
    Minute : 0
    Hour : 0
    Day of the Month : */2
    Month : *
    Day Of Week : *
    Commande : reboot

    This task will reboot your server every 2 days at 00:00
     
  3. IFeelYourPain

    IFeelYourPain Guest

    0
     
    What if I wanted it to do this at say 2:00 AM?
     
  4. j_kev@

    j_kev@ Guest

    0
     
    Switched on : checked
    Minute : 0
    Hour : 2
    Day of the Month : */2
    Month : *
    Day Of Week : *
    Commande : reboot

    This task will reboot your server every 2 days at 02:00
     
  5. IFeelYourPain

    IFeelYourPain Guest

    0
     
    Ok thanks, easy enough. Too bad it wasn't in the FAQ though or if it was I didn't see it.
     
Loading...