Hey just wondering could anyone help me Have script that runs through cron but seams to run but xen-create-image goes to end but shoes up errors because some stuff it not being passed. ./grabJob.py # RUN all the Create ENVIRONMNET commands here run="/usr/bin/xen-create-image --hostname=%s --ip=%s" % (hostname, ipadd[0]) print run; try: fs=os.popen(run) for file in fs: error = error + file
If run just ./grabJob.py it works ok and outputs en:/var/www/apache2-default# ./grabJob.py Grabbing Jobs running create Jobs runnning.... Creating environment ckortenhorst1 /usr/bin/xen-create-image --hostname=ckortenhorst1 --ip=192.168.0.111 DONE Can anyone help -- Christian Kortenhorst +353-(0)87-6183349 +353-(0)1-4966287
-- http://mail.python.org/mailman/listinfo/python-list