RE: [CentOS] Problem with crontab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Yes the command need the full path, 

Thank 

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux