PipelineFX Forum
Qube! => General => Topic started by: bijuramavfx on August 03, 2012, 07:51:31 PM
-
Hi there:
How can I set an environment before worker starts an application to render...? How and where can I set/call the environment variable setting file before launching a job ..?
thanks
/Biju
-
To export the submission environment you can use the job flag export_environment in the job flag field
I hope this helps
Cheers
Josh
-
Hello Josh:
Would it be possbile to send a sample code to do so. We have currently two environments, the old and the new one and we are in the process of migrating to new one. Once the environment is identified we would to grab all the environment varables and populate the job.
Thanks
/Biju
-
Hello Josh:
The following get all the environment variables.. but I would like to set only few environment variables - is there a way to do so ..?
qb.submit(qb.Job({'prototype':'cmdline', 'package':{'cmdline':'set'}, 'flagsstring':'export_environment'}))
Thanks
/Biju
-
Hi there:
In simplecmd.py file, how do I set the value for the following job.env on the fly
detailedqube_options.add_option( 'job.env' , 'dict', 'Environment variable overrides when running job', widget=Grid_Dict, default={}, label='Env Vars', widget_vsize=200, rows=10)
Thanks
/Biju