{% for job in jobs %} {% if job.last_exit_code == 0 %} {% elif job.last_exit_code is none and job.pid is none %} {% elif job.last_exit_code is none and job.pid is defined %} {% else %} {% endif %} {% endfor %}
minute hour day of month month day of week command assigned to
{% if job.minute %}{{ job.minute }}{% else %} * {% endif %} {% if job.hour %}{{ job.hour }}{% else %} * {% endif %} {% if job.day_of_month %}{{ job.day_of_month }}{% else %} * {% endif %} {% if job.month %}{{ job.month }}{% else %} * {% endif %} {% if job.day_of_week %}{{ job.day_of_week }}{% else %} * {% endif %} {% if job.command %}{{ job.command }}{% else %} * {% endif %} {% if job.assigned_to %}{{ job.assigned_to.ip }}{% else %} * {% endif %}