RE: [CentOS] Problem with crontab

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



On Wed, July 5, 2006 12:16 pm, Jose Miguel Perez wrote:
> I try to, and not work !!!
>
>
> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] 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.
_______________________________________________
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