Page 1 of 1

[Solved] How to setup monthly reboot of centos server

Posted: Thu Apr 30, 2015 5:17 pm
by vandread911
As the title states, could you provide me with a screenshot if possible on how to reboot server each month using vestacp :
Image

Re: How to setup monthly reboot of centos server - cronjob

Posted: Fri May 01, 2015 7:21 pm
by joem
vandread911 wrote:As the title states, could you provide me with a screenshot if possible on how to reboot server each month using vestacp :
Image
Just add this to the command box everything else is right.

Code: Select all

 sudo /usr/local/vesta/bin/v-restart-system 
You can also use

Code: Select all

sudo shutdown -r now

Re: How to setup monthly reboot of centos server - cronjob

Posted: Tue May 05, 2015 9:23 am
by skurudo
joem wrote: You can also use

Code: Select all

shutdown -r now
joem, sorry for my comment, but not sudo shutdown ? It's from admin user, if I correct.

Re: How to setup monthly reboot of centos server - cronjob

Posted: Tue May 05, 2015 9:26 am
by joem
skurudo wrote:
joem wrote: You can also use

Code: Select all

shutdown -r now
joem, sorry for my comment, but not sudo shutdown ? It's from admin user, if I correct.
idk what your talking about lol... I edited my post :P

Re: How to setup monthly reboot of centos server - cronjob

Posted: Tue May 05, 2015 9:29 am
by skurudo
joem wrote:idk what your talking about lol... I edited my post :P
Yep, my bad, when I open page there was old command without sudo :)