Move background jobs to cron

This commit is contained in:
Jason Ertel
2022-11-17 09:50:41 -05:00
parent c572848ece
commit 0ffef75d7b
4 changed files with 17 additions and 4 deletions

View File

@@ -134,6 +134,11 @@ filecheck_script:
- group: 939
- mode: 755
filecheck_run:
cron.present:
- name: 'ps -ef | grep filecheck | grep -v grep || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
- user: socore
- minute: 9
filcheck_history_clean:
cron.present: