{{ logo }}

{{ name }}

{{ nav }}
{{ automation_tabs }}

Schedules

{{ schedules | length }} schedule{{ 's' if schedules | length != 1 }} {{ 'Scheduler running' if status.running else ('Scheduler running in another process' if status.clock else ('Scheduler off' if not status.enabled else 'Scheduler not running')) }}

Everything on this instance's clock. A sync schedule submits a job at each check time; the job finds and ingests new source data, if any. Set one up or edit it from the dataset's own page.

{% if change_warning %} {% elif status.reload_error %} {% endif %} {% if status.clock and not status.clock.here %}
The clock runs in another geoservice process on this data directory (last reported {{ status.clock.beat_at.strftime('%Y-%m-%d %H:%M UTC') }}). Checks below are the ones it ran.
{% elif not status.enabled %}
Automatic checks are off. To turn them on, set enabled: true under scheduler: in geoservice.yaml, then restart the geoservice. Schedules can still be saved in the meantime.
{% endif %} {% if schedules %}
{% if not read_only %}{% endif %} {% for s in schedules %} {% if not read_only %} {% endif %} {% endfor %}
ScheduleTargetRunsStatusNext checkLast checkActions
{{ s.kind | capitalize }} {% if s.dataset_exists %}{{ s.name or s.dataset_id }}{% if s.name %}
{{ s.dataset_id }}{% endif %}{% else %}{{ s.dataset_id }}
This dataset is no longer on the instance.{% endif %}
{% if s.run_description %}{{ s.run_description }}{% else %}{{ s.cron }} ({{ s.timezone }}){% endif %}
{{ 'Publish after sync' if s.publish else 'Do not publish after sync' }}; up to {{ s.max_attempts }} attempt{{ 's' if s.max_attempts != 1 }}
{% if not s.enabled %}Paused {% elif s.registered %}Scheduled {% elif s.next_check %}Scheduled in another process {% elif s.last_outcome == 'error' %}Cannot run
{{ s.last_message }} {% else %}Not running{% endif %}
{{ s.next_check or '' }} {% if s.last_check %}{{ s.last_check }}
{{ s.last_outcome }}{% if s.last_job_id %}, view job{% endif %}{% else %}No checks yet{% endif %}
{% if s.dataset_exists %}Edit{% endif %} {% if s.enabled %}
{% else %}
{% endif %} Delete
{% else %}

No schedules yet

Open a dataset and schedule automatic checks from its Sync panel.

Datasets
{% endif %}

Last checks are kept in the data directory, so they survive a restart and show on every geoservice process that shares it. Times use {{ status.timezone }}.

{% include "_schedule_delete_dialog.html" %}