[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] job status from python



Is there any python API for checking the status of jobs?Â

On Sun, Jan 7, 2018 at 3:47 PM Larry Martell <larry.martell@xxxxxxxxx> wrote:
I am submitting jobs like this:

  sub = htcondor.Submit(submit_dict)
  with schedd.transaction() as txn:
    id = sub.queue(txn)

Now I want to be able to tell if the job has completed or not, and
when it has completed, if it succeeded or failed. How can I do that?