[CentOS] Problem with crontab

Wed Jul 5 16:58:50 UTC 2006
Jose Miguel Perez <jperez at isisa.com.do>

Yes the command need the full path, 

Thank 

-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at 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.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos