• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

How to reboot with crontab ?

C

callawey

Guest
i wish to reboot my server every morning at 6:30 am but it is not worked.


i edit as so;

Minute * : 30
Hour * : 6
Day of the Month * : *
Month * :
Day of the Week * : *
Command * : reboot

is it not right ? or how can i do it ?
 
I never used the plesk plugin. I can tell you how it works thru ssh.

Logon to the server thru ssh.
Make yourself root and type: crontab -e
Add the line down here...

30 6 * * * reboot

Thats it!

ps... why do you wanna restart the server every morning?
 
Maybe cron doesnt except reboot, try "/sbin/init 6" instead
 
Back
Top