GPU mining performance starting to report lower over time, looks like lots of watchdog processes running. Add a daily reboot as well as follow-up patch. Refactor current schedule document across a few files.

This commit is contained in:
2021-02-17 05:12:25 -06:00
parent e699825d11
commit 7953bc7a51
5 changed files with 55 additions and 25 deletions

23
tasks/miner/cron/mfn.yml Normal file
View File

@ -0,0 +1,23 @@
---
# Miner tasks.
## Mining ##
- name: Miner | Account Management | Cron | MFN | Stop Jobs
cron:
user: mfn
name: "Stop {{ item.name }}"
minute: "*/5"
job: "killall {{ item.name }}; killall {{ item.name }}.sh; killall {{ item.command }}"
state: present
disabled: "{{ item.enabled }}"
loop: "{{ miners }}"
- name: Miner | Account Management | Cron | MFN | Start Jobs
cron:
user: mfn
name: "Start {{ item.name }}"
job: "{{ item.command }}"
state: present
disabled: "{{ not(item.enabled) }}"
loop: "{{ miners }}"