job_monitor#
- job_monitor(job, interval=None, output=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[source]#
Monitor the status of an
IBMJob
instance.- Parameters:
job (
IBMJob
) – Job to monitor.interval (
Optional
[float
]) – Time interval between status queries.output (
TextIO
) – The file like object to write status messages to. By default this is sys.stdout.
- Return type:
None