{% extends "layout.html" %} {% block content %}
{% if task is none %}

Task not found

The scheduler does not have a task with that identifier.
Back
{% else %}

{{ task.name or task.id }}

{{ task.id }}
State {{ task_info.schedule_state.value if task_info else "-" }}
Next Run {% if task.next_run_time %}{{ task.next_run_time }}{% else %}-{% endif %}
Store / Executor {{ store_alias or task.store_alias or "default" }} / {{ task.executor or "default" }}
Trigger {{ task_info.trigger_description if task_info else task.trigger }}
Coalesce {{ "True" if task.coalesce else "False" }}
Max Instances {{ task.max_instances }}
Misfire Grace {% if task.mistrigger_grace_time is none %}-{% else %}{{ task.mistrigger_grace_time }}s{% endif %}
Callable {{ task.fn_reference or task_info.callable_reference or task_info.callable_name or "-" }}

Arguments

Stored callable arguments for this task.
{{ args_json }}
{{ kwargs_json }}

Upcoming Runs

Preview from the scheduler trigger without advancing task state.
{% if not preview or not preview.run_times %} {% else %} {% for run_time in preview.run_times %} {% endfor %} {% endif %}
# Run Time
No upcoming runs are available.
{{ loop.index }} {{ run_time }}

Recent Runs

Latest run records for this task.
Open History
{% if not recent_runs %} {% else %} {% for run in recent_runs %} {% endfor %} {% endif %}
Submitted Status Source Duration Actions
No run history yet.
{% if run.submitted_at %}{{ run.submitted_at.strftime("%Y-%m-%d %H:%M:%S") }} UTC{% else %}-{% endif %} {% if run.status == "succeeded" %} {{ run.status_label }} {% elif run.status == "running" %} {{ run.status_label }} {% elif run.status == "missed" or run.status == "max_instances" %} {{ run.status_label }} {% else %} {{ run.status_label }} {% endif %} {{ run.source_label }} {% if run.duration_ms is not none %}{{ run.duration_ms }} ms{% else %}-{% endif %} Inspect

Recent Logs

Latest captured log records for this task id.
Open Logs
{% if not recent_logs %} {% else %} {% for log in recent_logs %} {% endfor %} {% endif %}
Time Level Logger Message
No logs captured for this task.
{{ log.ts.strftime("%Y-%m-%d %H:%M:%S") }} {% if log.level in ["ERROR", "CRITICAL"] %} {{ log.level }} {% elif log.level == "WARNING" %} {{ log.level }} {% elif log.level == "INFO" %} {{ log.level }} {% else %} {{ log.level }} {% endif %} {{ log.logger }} {{ log.message }}
{% endif %}
{% endblock %}