• 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.

How do I schedule restarts?

I

IFeelYourPain

Guest
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?
 
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
 
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
 
Ok thanks, easy enough. Too bad it wasn't in the FAQ though or if it was I didn't see it.
 
Back
Top