• 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

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