• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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