{% extends "base.html.twig" %} {% block title %}{{ 'job.edit.title' | trans }}{% endblock %} {% block content %}

{{ 'job.edit.header' | trans({'_jobname_': (job.name | parsetags) }) | raw }}

{{ 'job.addedit.generalinfo.header' | trans }}

{{ 'job.addedit.generalinfo.name.helptext' | trans }}
{{ 'job.addedit.generalinfo.lastrun.eternal.label' | trans }}
{{ 'job.addedit.generalinfo.retention.helptext' | trans }}
{% if attribute(job.data, 'fail-pct') is defined %}{{ attribute(job.data, 'fail-pct') }}{% else %}50{% endif %}%

Job details

{% if job.data.crontype == 'reboot' %}
{% endif %}

{{ "job.addedit.crontype.command.header"| trans }}

{{ "job.addedit.crontype.reboot.header" | trans }}

{{ "job.addedit.crontype.reboot.reboot.command.helptext" | trans }}
{{ "job.addedit.crontype.reboot.reboot.delay.helptext" | trans }}
{{ "job.addedit.crontype.reboot.reboot.duration.helptext" | trans }}

HTTP request details

This field is being saved as a secret

Localhost details

No options

SSH host details

Keep
This file is being saved as a secret
If private key is empty this field is being used as ssh-password This field is being saved as a secret

Docker container details

Variables

Secret
{% set key = 1 %} {% if job.data.vars is defined %} {% for id,var in job.data.vars %}
Secret
{% endfor %} {% endif %}

You can add variables by using {variable-name} in job details

Add variable
{% endblock %} {% block styles %} {{ vite_entry_link_tags('job.add') }} {% endblock %} {% block scripts %} {{ vite_entry_script_tags('job.add') }} {% endblock %}