• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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