[CentOS] Bug with cron ?
jdmls at yahoo.com
Fri Mar 20 12:16:12 UTC 2009
From: MOKRANI Rachid <Rachid.MOKRANI at ifp.fr>
> 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
More information about the CentOS