JobEvent Class

class htcondor2.JobEvent(data, event_text)

A single event from a job event log.

A JobEvent is a Mapping of event properties to event values; the type of the value depends on the property. The names of the properties and their types are currently undocumented.

Because all events have the type, cluster, proc, and timestamp properties, these are available as attributes; see below.

property cluster: int

The cluster ID of the job to which the event happened.

Return type

int

property proc: int

The process ID of the job to which the event happened. Returns -1 if no process ID was recorded for the event.

Return type

int

property timestamp: int

The Unix timestamp of the event.

Return type

int

property type: JobEventType

The type of the event.

Return type

JobEventType