mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Add cron.absent to remove old cron job if present
This commit is contained in:
@@ -171,6 +171,12 @@ append_so-strelka-filestream_so-status.conf:
|
|||||||
- name: /opt/so/conf/so-status/so-status.conf
|
- name: /opt/so/conf/so-status/so-status.conf
|
||||||
- text: so-strelka-filestream
|
- text: so-strelka-filestream
|
||||||
|
|
||||||
|
strelka_zeek_extracted_sync_old:
|
||||||
|
cron.absent:
|
||||||
|
- user: root
|
||||||
|
- name: '[ -d /nsm/zeek/extracted/complete/ ] && mv /nsm/zeek/extracted/complete/* /nsm/strelka/ > /dev/null 2>&1'
|
||||||
|
- minute: '*'
|
||||||
|
|
||||||
strelka_zeek_extracted_sync:
|
strelka_zeek_extracted_sync:
|
||||||
cron.present:
|
cron.present:
|
||||||
- user: root
|
- user: root
|
||||||
|
|||||||
Reference in New Issue
Block a user