• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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