瀏覽代碼

allow commented (disabled) cronjob (#230)

pull/231/head
Michael Feger 3 年之前
父節點
當前提交
fbe96f65f8
No account linked to committer's email address
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      linux/system/job.sls

+ 3
- 0
linux/system/job.sls 查看文件

@@ -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…
取消
儲存