Re: Bug with cron ?

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



From: MOKRANI Rachid <Rachid.MOKRANI@xxxxxx>
> The following script works fine on all worksation when it's start manually or if 
> I run it line by line manually.
> 
> If I would like to run it on crontab, the following line
>     "/usr/bin/yum -y install VMware-Player-2.5.1-126130.x86_64" 
> not install the new release of vmplayer with no errors.

Just tested the following:

  */5 * * * * yum -y install gnome-nettool >> /tmp/crontest 2>&1

and it worked fine...
Are you sure the script is executable by the crontab user?
Try the redirects like in my example to see what is going on

JD


      

_______________________________________________
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