$def with (jobs_running, jobs_waiting, from_timestamp) $# $# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for $# more information about the licensing of this file. $# $var title: Job queue $# Start content $def NavbarF(): $var Navbar: $:NavbarF()

Job queue

This page shows a snapshot of the job queue.

Running jobs

$if jobs_running is not None and len(jobs_running) > 0: $for (job_id, is_current_client_job, agent_name, is_batch, info, launcher, started_at, max_end) in jobs_running:
Type Local client Agent name Name Launcher name Started at Timeout at
$if is_batch: Batch $else: Task $if is_current_client_job: Yes $else: No $agent_name $info $launcher $from_timestamp(started_at).strftime("%d/%m/%Y %H:%M:%S") $from_timestamp(max_end).strftime("%d/%m/%Y %H:%M:%S")
$else: There are no jobs running

Jobs in queue

$if jobs_waiting is not None and len(jobs_waiting) > 0: $for (job_id, is_current_client_job, is_batch, info, launcher, max_end) in jobs_waiting:
Type Local Name Launcher name Maximum runtime in seconds
$if is_batch: Batch $else: Task $if is_current_client_job: Yes $else: No $info $launcher $max_end
$else: There are no jobs waiting in queue