Browse Source

Updated role to updated project structure.

pull/11/head
Egon Rijpkema 3 years ago
parent
commit
af343d04b4
  1. 5
      roles/kill_memory_hogs/tasks/main.yml

5
roles/kill_memory_hogs/tasks/main.yml

@ -26,5 +26,8 @@ @@ -26,5 +26,8 @@
name: Kill jobs that are using excessive memory.
minute: '*/2'
user: root
job: '/usr/bin/python36 /opt/kill_hogs/kill_hogs.py --slack --email --cpu_threshold 700 --cpu_interval 3'
job: >
/usr/bin/python36 /opt/kill_hogs/kill_hogs/kill_hogs.py
--slack --email --cpu_threshold 700 --cpu_interval 3
--config_file /opt/kill_hogs/kill_hogs.yml
cron_file: kill_memory_hogs

Loading…
Cancel
Save