mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 23:43:07 +01:00
Add logic for cronjobs
This commit is contained in:
@@ -168,21 +168,6 @@ so-curatordeletecron:
|
|||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{% if TRUECLUSTER is sameas true %}
|
{% if TRUECLUSTER is sameas true %}
|
||||||
so-curatorcloseddeletecron:
|
|
||||||
cron.absent:
|
|
||||||
- name: /usr/sbin/so-curator-closed-delete > /opt/so/log/curator/cron-closed-delete.log 2>&1
|
|
||||||
- user: root
|
|
||||||
|
|
||||||
so-curatorclosecron:
|
|
||||||
cron.absent:
|
|
||||||
- name: /usr/sbin/so-curator-close > /opt/so/log/curator/cron-close.log 2>&1
|
|
||||||
- user: root
|
|
||||||
|
|
||||||
so-curatordeletecron:
|
|
||||||
cron.absent:
|
|
||||||
- name: /usr/sbin/so-curator-delete > /opt/so/log/curator/cron-delete.log 2>&1
|
|
||||||
- user: root
|
|
||||||
|
|
||||||
so-curatorclusterclose:
|
so-curatorclusterclose:
|
||||||
cron.present:
|
cron.present:
|
||||||
- name: /usr/sbin/so-curator-cluster-close > /opt/so/log/curator/cron-close.log 2>&1
|
- name: /usr/sbin/so-curator-cluster-close > /opt/so/log/curator/cron-close.log 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user