{% extends "layout.html" %}{% block content %}

Jobs

{% if jobs_enabled %}

Each job starts daily-epub-job@<name>.service through systemd; the unit runs daily-epub job run <name> and records itself here. Jobs that take the run lock wait for nothing: a second generate while one is running fails immediately.

{% else %}

Jobs are disabled on this server (server.jobs_enabled = false); run the commands by hand instead.

{% endif %}
{% for card in cards %}

{{ card.name }}

{{ card.description }}

{% if let Some(lock) = card.lock %}

Takes the {{ lock }} lock.

{% endif %}
{% if card.dated %}{% endif %}
{% endfor %}

History

{% if jobs.is_empty() %}

No jobs recorded yet.

{% else %}
{% for job in jobs %}{% endfor %}
jobnamerequested byrequestedstartedfinisheddurationstatusmessagerun
{{ job.id }} {{ job.name }} {{ job.requested_by }} {{ job.requested }} {{ job.started }} {{ job.finished }} {{ job.duration }} {{ job.status }} {% if let Some(message) = job.message %}{{ message }}{% endif %} {% if let Some(run_id) = job.run_id %}{{ run_id }}{% endif %}
{% endif %}
{% endblock %}