Page 1 of 1

Can i setup auto reboot moi pro?

PostPosted: Thu Oct 22, 2015 6:03 am
by aurimelis
Hi,
can i setup on moi pro auto restart for every 24hour to make sytem reboot ? I cant found here crontab

Re: Can i setup auto reboot moi pro?

PostPosted: Wed Feb 03, 2016 2:22 pm
by adminzz
Hi

you can do like this:

1.ln -s /usr/share/zoneinfo/* /etc/localtime


create a file such as root
write the following command to it
0 6 * * * /sbin/shutdowm -r now
place the file to /var/spool/cron/crontab folder
#chmod 777 /var/spool/cron/crontab/root

0 6 * * * /sbin/shutdowm -r now it means it will auto reboot every 6:00 am


dos2unix /var/spool/cron/crontabs/root

Thanks

Kind Regards

steven