Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
[Solved] How to setup monthly reboot of centos server
-
- Posts: 14
- Joined: Fri Jul 25, 2014 5:03 am
[Solved] How to setup monthly reboot of centos server
As the title states, could you provide me with a screenshot if possible on how to reboot server each month using vestacp :


Last edited by vandread911 on Sat May 09, 2015 7:12 am, edited 1 time in total.
Re: How to setup monthly reboot of centos server - cronjob
Just add this to the command box everything else is right.vandread911 wrote:As the title states, could you provide me with a screenshot if possible on how to reboot server each month using vestacp :
Code: Select all
sudo /usr/local/vesta/bin/v-restart-system
Code: Select all
sudo shutdown -r now
Last edited by joem on Tue May 05, 2015 9:25 am, edited 1 time in total.
Re: How to setup monthly reboot of centos server - cronjob
joem, sorry for my comment, but not sudo shutdown ? It's from admin user, if I correct.joem wrote: You can also useCode: Select all
shutdown -r now
Re: How to setup monthly reboot of centos server - cronjob
idk what your talking about lol... I edited my post :Pskurudo wrote:joem, sorry for my comment, but not sudo shutdown ? It's from admin user, if I correct.joem wrote: You can also useCode: Select all
shutdown -r now
Re: How to setup monthly reboot of centos server - cronjob
Yep, my bad, when I open page there was old command without sudo :)joem wrote:idk what your talking about lol... I edited my post :P