Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Bug with cron ? (http://www.linux-archive.org/centos/266717-bug-cron.html)

"MOKRANI Rachid" 03-20-2009 07:14 AM

Bug with cron ?
 
Hi,

Is there a bug under cron on CentOS 5.2 x86_64 ? kernel 2.6.18-92

Something is strange on my system. I have a simple shell script to run
on many computers . When I run this script by hand, everything works
fine on all workstations.

But if I start this script via crontab vmplayer is never install with no
errors.

Any ideas ?
Best regards.



#/usr/bin/yum -e 0 -d 0 -y remove VMware-Player.x86_64
#/usr/bin/yum -e 0 -d 0 -y install VMware-Player-2.5.1-126130.x86_64
#/usr/bin/vmware-networks --stop
#/usr/bin/vmware-networks --migrate-network-settings
/vmware/virtualmachine
#/usr/bin/vmware-networks --start
#/sbin/chkconfig --level 345 vmware on

__________________________

Ce message (et toutes ses pièces jointes éventuelles) est confidentiel et établi à l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'IFP décline toute responsabilité au titre de ce message.

This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP should not be liable for this message.

Visitez notre site Web / Visit our web site : http://www.ifp.fr
__________________________
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Ralph Angenendt 03-20-2009 08:35 AM

Bug with cron ?
 
MOKRANI Rachid wrote:
> #/usr/bin/yum -e 0 -d 0 -y remove VMware-Player.x86_64
> #/usr/bin/yum -e 0 -d 0 -y install VMware-Player-2.5.1-126130.x86_64
> #/usr/bin/vmware-networks --stop
> #/usr/bin/vmware-networks --migrate-network-settings /vmware/virtualmachine
> #/usr/bin/vmware-networks --start
> #/sbin/chkconfig --level 345 vmware on

Is there a reason why you have a comment sign in front of each line?

Ralph
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 06:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.