{% if job.id %}{% set hdr_title = "Edit Cron Job" %}{% else %}{% set hdr_title = "New Cron Job" %}{% endif %}
Back to Cron Jobs

{{ hdr_title }}

Configure the schedule, script and runtime for this automated job.

Script editor

Python uses the host Python runtime or the selected virtual environment. JavaScript requires Node on the host only when you run a JavaScript job; Blocks itself does not require Node.

Job configuration

Five fields: minute, hour, day, month and weekday.

Leave empty to use the system Python.

{% if job.id %}{% endif %}
{% if job.id %}

Last run result

{% if job.last_run %}

Time: {{ job.last_run | date_in_tz(timezone=timezone) | default(value="Never") }}

{{ job.last_output | default(value="No output recorded.") }}
{% else %}

This job has not run yet.

{% endif %}
{% endif %}