{%- extends "default.html" -%}
{%- block content -%}
Task #{{task.id}}
You are viewing a single task. View all tasks
ID |
{{task.id}} |
Status |
{{task.run_state_enum.name.title()}} |
Created (UTC) |
{{task.created_datetime}} ({{task.age_string}}) |
Last Run (UTC) |
{{task.run_time_last_str}} |
Next Run (UTC) |
{{task.next_trigger(task.run_time_last_or_created_utc) | timestamp}} |
{%- if task.type == ScheduledTaskType.SCHEDULED_SUBMISSION -%}
Scheduled Post |
{%- if v.admin_level >= PERMS['SCHEDULER_POSTS'] -%}
{{task.title}}
{%- else -%}
{{task.title}}
{%- endif -%}
|
{%- elif task.type == ScheduledTaskType.PYTHON_CALLABLE -%}
Import Path |
{{task.import_path}} |
Callable |
{{task.callable}} |
{%- endif -%}
Enabled |
{{task.enabled}} |
Previous Task Runs
ID |
Status |
Started |
Completed |
{%- for run in task.runs -%}
{{run.id}} |
{{run.status_text}} |
{{run.age_string}} |
{{run.completed_utc | agestamp}} |
{%- endfor -%}
{%- endblock -%}