Submit a batch job from a RCE Powered (Interactive) job

Users may want to submit a batch job from within their RCE Powered (aka Interactive or COD) job.  To do this the user needs to find the name of the batch scheduler and submit that as an argument to the condor_submit script.  For more information on using condor_submit, please go to this webpage.

To submit a batch job from RCE Powered shell or from within your application you need to run this system call to get the batch manager IP and port:

condor_status -schedd -pool batch6-head.priv.hmdc.harvard.edu -constraint 'Machine=="batch6-head.hmdc.harvard.edu"' -format '%s\n' ScheddIpAddr

The output will look something like this <10.0.0.32:12345>  Take this and add it as an argument to the condor_submit script:

condor_submit -name '<10.0.0.32:12345>' my-job.submit