[CentOS] Problem with crontab

Wed Jul 5 16:23:59 UTC 2006
Marko A. Jennings <markobiz at bluegargoyle.com>

On Wed, July 5, 2006 12:16 pm, Jose Miguel Perez wrote:
> I try to, and not work !!!
>
>
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Marko A. Jennings
> Sent: Wednesday, July 05, 2006 12:16 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Problem with crontab
>
> On Wed, July 5, 2006 12:11 pm, Jose Miguel Perez wrote:
>> Hello ,   I need to create a crontab job , to reboot my server at
> 23:00
>> every day "is a test". I use this process
>>
>>
>>
>> Crontab -e
>>
>>
>>
>> Add , the following line .
>>
>>
>>
>> 00 23 * * * reboot
>>
>>
>>
>>
>>
>> :wq
>>
>>
>>
>> , bot this process not work , who about that ?
>>
>
>
> Try using full path (/sbin/reboot).
> _______________________________________________

Are you trying to run this cron job as root or as some other user?  You
can execute

  crontab -l -u root

to make sure that your entry is in root's crontab.