Search
Page 2 of 7. Showing 68 results (0.013 seconds)
jobsubmit-work-mail-callback.pl
" => "done-work-self-*", "language" => "mail", "code" => "" } ], "agenda" => $frames, }; # now we submit the job. for(qb::submit($job)) { print "submitted: ", $_->{id…submit-agenda-timeout-job.py
qb # This script demonstrates how to submit a job with agenda (frame) timeouts, # using a simple "cmdrange" job. # The trick is to set up a timeout value for agenda items via…qbjobinfo.pl
to use the qb::jobinfo function # ############################################################################ # # Include the path to the Qube! api # use lib "$ENV{QB_DIR}/api…jobSubmit02.py
('/Applications/pfx/qube/api/python'); else: sys.path.append('/usr/local/pfx/qube/api/python'); import qb def main(): job = {} job['name'] = 'python test job' job['cpus'] = 4…Basic dependencies
that will wait for the entire dependent job to finish before the current job starts. There are also subjob (instance) and agenda (frame) based dependencies. Below is the code…jobSubmit03.py
('/Applications/pfx/qube/api/python'); else: sys.path.append('/usr/local/pfx/qube/api/python'); import qb def main(): job = {} job['name'] = 'python parent job' job['cpus'] = 2…jobSubmit04.py
('/Applications/pfx/qube/api/python'); else: sys.path.append('/usr/local/pfx/qube/api/python'); import qb def main(): job = {} job['name'] = 'python parent job' job['cpus'] = 2…jobsubmit.py
"/tmp/jobArchive.xja" set # # import sys, os import optparse if os.environ.has_key('QBDIR'): sys.path.append('%s/api/python' % os.environ['QBDIR']) import qb def main…jobSubmit05.py
('/Applications/pfx/qube/api/python'); else: sys.path.append('/usr/local/pfx/qube/api/python'); import qb def main(): # # set up the first job # job = {} job['name…jobArchive02.py
'); sys.path.append('../../api/python'); import qb def main(): job = qb.jobinfo(id=15766, agenda=True, subjobs=True, callbacks=True) print job qb.archivejob("hello.xja", job[0…