{% extends "base.html" %} {% block title %}Tasks - Flowrra{% endblock %} {% block content %}
All Pending Running Success Failed

Registered Tasks

{{ registered_tasks | length }} task(s) registered

{% for task in registered_tasks %} {% endfor %}
Task Name Type Max Retries Retry Delay
{{ task.name }} {% if task.cpu_bound %} CPU-bound {% else %} IO-bound {% endif %} {{ task.max_retries }} {{ task.retry_delay }}s

Execution History {% if status_filter %} ({{ status_filter }}) {% endif %}

{{ tasks | length }} task(s) found

{% if tasks %}
{% for task in tasks %} {% if task.error %} {% endif %} {% endfor %}
Task ID Task Name Status Created Started Completed Duration Retries
{{ task.task_id[:8] }} {{ task.task_name }} {{ task.status }} {{ task.submitted_at | format_datetime }} {{ task.started_at | format_datetime }} {{ task.finished_at | format_datetime }} {% if task.started_at and task.finished_at %} {{ (task.finished_at - task.started_at).total_seconds() | format_duration }} {% else %} - {% endif %} {{ task.retries }}
Error:
{{ task.error }}
{% else %}

No tasks found{% if status_filter %} with status "{{ status_filter }}"{% endif %}

{% endif %}

API Endpoints

GET /flowrra/api/tasks - List all registered tasks
GET /flowrra/api/tasks/{name} - Get task info
{% endblock %}