{% extends "base.html" %} {% block title %}Jobs - ACS Paper Crawler{% endblock %} {% block content %}

Crawl Jobs

View and manage all crawling jobs

New Job
{% if jobs %}
{% for job in jobs %} {% endfor %}
Status Journal URL Progress Created Started Completed Job ID Actions
{% if job.status.value == 'completed' %} Completed {% elif job.status.value == 'running' %} Running {% elif job.status.value == 'failed' %} Failed {% else %} Pending {% endif %} {{ job.journal_url }} {% if job.total_papers > 0 %}
{% if job.failed_papers > 0 %}
{% endif %}
{{ job.crawled_papers }}/{{ job.total_papers }} {% if job.failed_papers > 0 %} ({{ job.failed_papers }} failed) {% endif %}
{% else %} - {% endif %}
{{ job.created_at.strftime('%Y-%m-%d %H:%M:%S') }} {% if job.started_at %} {{ job.started_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} - {% endif %} {% if job.completed_at %} {{ job.completed_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} - {% endif %} {{ job.job_id[:8] }}... {% if job.status.value in ['pending', 'running'] %} {% else %} - {% endif %}
{% else %}

No jobs yet

Create your first crawl job to get started

Create Job
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}