X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=blobdiff_plain;f=fetch.py;h=91b5715271274de61008b65b7de8aa8352337feb;hp=7d93967254f941278cd4d17058824f73e8d21256;hb=944d143a6528c4157b71f51ed480aec806cbaa06;hpb=94cd174f6ce0bb3b2c8bceda0346e332037c6d8a diff --git a/fetch.py b/fetch.py index 7d93967..91b5715 100755 --- a/fetch.py +++ b/fetch.py @@ -47,8 +47,11 @@ if __name__ == "__main__": if not os.path.exists(outdir): os.system('mkdir -p %s' % outdir) - if config.site is not None or config.nodeselect is not None or config.nodegroup is not None: + if config.site is not None or \ + config.nodeselect is not None or \ + config.nodegroup is not None: print "TODO: implement support for nodeselect and site queries." + print "%s %s %s" % (config.site, config.nodeselect, config.nodegroup) sys.exit(1) if config.nodelist == None and config.node == None: @@ -71,4 +74,6 @@ if __name__ == "__main__": f = open(config.cmdfile,'r') cmd = f.read() + print filelist + vx_start(filelist, outdir, cmd, int(config.timeout))