• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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