Skip to content

Development notes

Thiago Mosqueiro edited this page Mar 23, 2018 · 1 revision

This is a document intended to help who's developing Telescope.

Variable names

Var name Meaning
jobId Job number, integer by default
jobName User defined job name
username Username owner of the job
jobStatus Status of the job (0 = not running, 1 = pending, 2 = running)
startDate Date when the job was submitted
workingDir Directory from where the job was submitted
outputFile Name of the output file tracked
vmax Maximum virtual memory used by the job
jobExitStat Exit status (0 = all ok, not 0 means error).

Job status

Parsing job status into a string:

utils.parseStatus2HTML( status_code )

Parsing string from qstat into integer codes:

utils.parseStatusCode( status_string )
Clone this wiki locally