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

Re: [HTCondor-users] htcondor python api


Unfortunately there isn't a native way in the Python bindings to wait on a job to complete. You should check out the JobStateTracker class from condor_watch_q for examples of how to parse the event logs: https://github.com/htcondor/htcondor/blob/master/src/condor_scripts/condor_watch_q#L831

- Brian

On 4/22/21 7:58 AM, rmorgan466@xxxxxxxxx wrote:
using the python API, i can submit a job but is there a way to wait until the job is completed?

Ther eis htcondor.JobEvengLog("logfile") but I am not sure how to really use that to wait until a task is completed.

--- Get your facts first, then you can distort them as you please.--

HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: