[CentOS] Problem with crontab
Joshua Baker-LePain
jlb17 at duke.edu
Wed Jul 5 16:20:44 UTC 2006
On Wed, 5 Jul 2006 at 12:11pm, Jose Miguel Perez wrote
> Crontab -e
>
> Add , the following line .
>
> 00 23 * * * reboot
>
> :wq
>
> , bot this process not work , who about that ?
AFAIK, only the console can use 'reboot' or 'poweroff'. Try putting
'/sbin/shutdown -r now' in root's crontab.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
More information about the CentOS
mailing list