crontab not found
Posted:
Tue Dec 22, 2015 9:13 pm
by afreddoss
i want reboot moi everyday at 6 morning but i can't find any crontab command please how can i do that ??
Re: crontab not found
Posted:
Mon Dec 28, 2015 6:14 pm
by steven
Hi afreddoss
you can do like this:
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
More question please feel free to contact us.
Thanks
Kind Regards
steven