Initialize job in the maintainer. If the job has been retried too many times, terminate and update events.
Returns Promise<void>
Async
maintain
maintain(): Promise<void>
Ensure that the job is still running, and if the runtime has exceeded the maintain threshold, terminate and update events.
Returns Promise<void>
Async
onCancel
onCancel(): Promise<void>
Cancel the connector
Returns Promise<void>
onDefine
onDefine(): void
This function is called when the maintainer is created (during the constructor). Can leave empty.
Returns void
onInit
onInit(): Promise<void>
On maintainer initialization, set executableManifest, and give it to the connector.
Update the event log to reflect the job being initialized or encountering a system error.
Returns Promise<void>
Async
onMaintain
onMaintain(): Promise<void>
If the job is complete, download the results to the remote result file path, and if it encounters an error, update the event log to reflect this.
Returns Promise<void>
Async
onPause
onPause(): Promise<void>
Pause the connector
Returns Promise<void>
onResume
onResume(): Promise<void>
Resume the connector
Returns Promise<void>
updateJob
updateJob(job): Promise<void>
Update this job to reflect the information in the passed job.
Specialized maintainer for handling jobs submitted to community HPCs (no login). Inherits from BaseMaintainer.