Commit 348a1915 authored by Franco Fichtner's avatar Franco Fichtner

cron: backport a small fix to allow parameters to work

parent 28342959
...@@ -6,7 +6,7 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin ...@@ -6,7 +6,7 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
{% for job in helpers.toList('OPNsense.cron.jobs.job') %} {% for job in helpers.toList('OPNsense.cron.jobs.job') %}
{% if job.enabled|default('0') == '1' %} {% if job.enabled|default('0') == '1' %}
# Origin/Description: {{job.origin}}/{{job.description}} # Origin/Description: {{job.origin}}/{{job.description}}
{{job.minutes}} {{job.hours}} {{job.days}} {{job.months}} {{job.weekdays}} /usr/local/sbin/configctl {{job.command}} {{job.parameter}} {{job.minutes}} {{job.hours}} {{job.days}} {{job.months}} {{job.weekdays}} /usr/local/sbin/configctl {{job.command}} {{job.parameters}}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment