{% extends 'base.html' %} {% block title %}dashboard{% endblock %} {% block head %} {% if SCRAPYD_SERVERS_AMOUNT == 1 and (page_view == 1 or page_view % CHECK_LATEST_VERSION_FREQ == 0) %} {% else %} {% endif %} {% endblock %} {% block body %} {% if (SCRAPYD_SERVERS_AMOUNT == 1 and page_view == 1) or IS_IE_EDGE %} {% endif %}

Get the list of pending, running and finished jobs of all projects after Scrapyd server started.

Pending ({{ pending_rows|length }})

{% for row in pending_rows %} {% endfor %}
Project Spider Job
{{ row['project'] }} {{ row['spider'] }} {{ row['job'] }}

Running ({{ running_rows|length }})

{% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and running_rows and running_rows[0]['url_items'] %} {% endif %} {% for row in running_rows %} {% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and row['url_items'] %} {% endif %} {% endfor %}
Project SpiderJobPID Start Runtime Log StatsItemsSTOP FORCESTOP
{{ row['project'] }} {{ row['spider'] }}{{ row['job'] }}{{ row['pid'] }} {{ row['start'] }} {{ row['runtime'] }} Log StatsItems {% if SCRAPYD_SERVERS_AMOUNT > 1 %} multinode {% endif %} STOP FORCESTOP

Finished ({{ finished_rows|length }}) in the descending order

{% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and finished_rows and finished_rows[0]['url_items'] %} {% endif %} {% for row in finished_rows[::-1] %} {% if SHOW_DASHBOARD_JOB_COLUMN %} {% endif %} {% if SHOW_SCRAPYD_ITEMS and row['url_items'] %} {% endif %} {% endfor %}
Project SpiderJobStart Runtime Finish Log StatsItemsSTART
{{ row['project'] }} {{ row['spider'] }}{{ row['job'] }}{{ row['start'] }} {{ row['runtime'] }} {{ row['finish'] }} Log StatsItems {% if SCRAPYD_SERVERS_AMOUNT > 1 %} multinode {% endif %} START
{% endblock %}