{% extends "base.html" %} {% block title %}Automation - {{ job.name }} - Memorizz{% endblock %} {% block content %} {% from '_ui.html' import page_header, empty_state, id_chip %} {% set status_pill = {'succeeded': 'pill--success', 'failed': 'pill--danger', 'running': 'pill--info'} %} {% call page_header(job.name, 'Schedule, status and run history for this job. Select a run to open its trace.', 'Execution', back=('/automations' ~ ('?agent_id=' ~ job.agent_id if job.agent_id else ''), 'All automations')) %} Edit {% if job.enabled %}
{% else %} {% endif %} {% endcall %} {% if error %} {% endif %}{{ job.cron_expr }}
{% elif job.schedule_type == 'interval' and job.interval_seconds %}
{{ job.interval_seconds }}s
{% endif %}
{{ job.next_run_at }}{{ job.last_run_at or '-' }}| Scheduled for | Status | Started | Finished | Deliveries | Error |
|---|---|---|---|---|---|
{{ run.scheduled_for }} |
{{ run.status|capitalize }} | {{ run.started_at or '-' }} |
{{ run.finished_at or '-' }} |
{{ deliveries|length }} {% if delivery_failed %} {{ delivery_failed }} failed {% elif delivery_sent %} {{ delivery_sent }} sent {% endif %} | {% if run.error %} {{ run.error|truncate(120) }} {% else %} - {% endif %} |