• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Cronjob ?

B

Budget101

Guest
How do I set up a cronjob to reset the server every 2 hours? What line of code do I use?

I am so DISGUSTED with this Server going down every hour. I cant get into the server logs to find out why, cant get into plesk, have to access it with SSH- which takes HOURS.

It's just easier to reset the stupid thing every hour....
 
Code:
crontab -e

0       *       *       *       *       init 6

!!! Test this first on a test server NOT on your dedicated server !!!

Should work for all distributions (SuSE, Debian, RedHat, etc).

Will reboot your server every hour.

Regards,
Claus
 
Thank you

Thank you very much for your help, it is greatly appreciated.
 
Back
Top