Browse Source

allow commented (disabled) cronjob

pull/230/head
Michael Feger 3 years ago
parent
commit
5fb27a00af
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/system/job.sls

+ 3
- 0
linux/system/job.sls View File

@@ -16,6 +16,9 @@ linux_job_{{ job.command }}:
{%- if job.get('identifier', True) %}
- identifier: {{ job.get('identifier', job.get('name', name)) }}
{%- endif %}
{%- if job.get('commented', False) %}
- commented: True
{%- endif %}
- user: {{ job_user }}
{%- if job.special is defined %}
- special: '{{ job.special }}'

Loading…
Cancel
Save