Class representing a job.

Constructors

Properties

cpuTime?: number
cpus?: number
createdAt: Date
credential?: credential
credentialId?: string
deletedAt?: Date
env?: Record<string, string>
events: Event[]
finishedAt?: Date
hpc: string
id: string
initializedAt?: Date
isFailed: boolean
localDataFolder?: NeedUploadFolder
localExecutableFolder?: NeedUploadFolder
logs: Log[]
maintainer: string
maintainerInstance?: default
memory?: number
memoryUsage?: number
name?: string
nodes?: number
param?: Record<string, string>
queuedAt: Date
remoteDataFolder?: Folder
remoteExecutableFolder?: Folder
remoteResultFolder?: Folder
slurm?: slurm
slurmId?: string
updatedAt?: Date
userId?: string
walltime?: number

Methods

  • Set the createdAt time to the current time.

    Returns void

    date - Date this job was created.

  • Set the updatedAt time to the current time.

    Returns Date

    date - Date this job was last updated.

  • Sorts the events in the order that they were created

    Returns void

    None - Updates this.events

  • Sorts the logs in the order that they were created

    Returns void

    None - Updates this.logs

Generated using TypeDoc