<%inherit file="/base.mako"/> <%namespace file="/message.mako" import="render_msg" /> <%def name="javascripts()"> ${parent.javascripts()} <%def name="title()">Jobs

Jobs

%if message: ${render_msg( message, status )} %endif

Unfinished and recently finished jobs are displayed on this page. The 'cutoff' input box will do two things -- it will limit the display of unfinished jobs to only those jobs that have not had their job state updated recently, and it will limit the recently finished jobs list to only displaying jobs that have finished since the cutoff.

If any jobs are displayed, you may choose to stop them. Your stop message will be displayed to the user as: "This job was stopped by an administrator: <YOUR MESSAGE> For more information or help, report this error".

%if jobs:

Unfinished Jobs: These jobs are unfinished and have had their state updated in the previous ${cutoff} seconds.

%for job in jobs: %if job.history and job.history.user: %else: %endif <% try: inputs = ", ".join( [ '%s %s' % ( da.dataset.id, da.dataset.state ) for da in job.input_datasets ] ) except: inputs = 'Unable to determine inputs' %> %endfor
Job ID User Last Update Tool State Inputs Command Line Job Runner PID/Cluster ID
${job.id}${job.history.user.email|h}anonymous${last_updated[job.id]} ago ${job.tool_id|h} ${job.state}${inputs} ${job.command_line|h} ${job.job_runner_name|h} ${job.job_runner_external_id}

Stop Jobs
to be displayed to the user

%else:
There are no unfinished jobs to show with current cutoff time.

%endif %if recent_jobs:

Recent Jobs: These jobs have completed in the previous ${cutoff} seconds.

%for job in recent_jobs: %if job.history and job.history.user: %else: %endif <% try: inputs = ", ".join( [ '%s %s' % ( da.dataset.id, da.dataset.state ) for da in job.input_datasets ] ) except: inputs = 'Unable to determine inputs' %> %endfor
Job ID User Finished Tool State Inputs Command Line Job Runner PID/Cluster ID
${job.id}${job.history.user.email|h}anonymous${finished[job.id]} ago ${job.tool_id|h} ${job.state}${inputs} ${job.command_line|h} ${job.job_runner_name|h} ${job.job_runner_external_id|h}

%else:

There are no recently finished jobs to show with current cutoff time.

%endif

Update Jobs
In seconds

Administrative Job Lock
%if job_lock==True:

Job dispatching is currently locked.

%else:

Job dispatching is currently unlocked.

%endif