Yes the command need the full path,
Thank
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Joshua Baker-LePain Sent: Wednesday, July 05, 2006 12:21 PM To: CentOS mailing list Subject: Re: [CentOS] Problem with crontab
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.