DAGMan Class

class htcondor2.DAGMan(dag_id)

The DAGMan client that acts as a connection to a running DAGMan process for sending commands.

Parameters

dag_id (int) – The ClusterId of a DAGMan job to locate once the first command is issued.

property dag_id: int

The ClusterId of a DAGMan job this object will send commands.

halt(reason=None) tuple[bool, str]

Inform DAGMan to halt a DAGs progress.

Parameters

reason (Optional[str]) – A message for why the DAG was halted to be printed in the DAGs debug log.

Returns

Command success and result message.

Return type

Tuple[bool, str]

resume() Tuple[bool, str]

Inform DAGMan to resume a hatled DAGs progress.

Returns

Command success and result message.

Return type

Tuple[bool, str]