Move check alive to be in script, not cron.

This commit is contained in:
me committed 2021-02-15 18:58:06 -06:00
1 parent 60c8ce0af7
commit fdd1db85e5
3 files changed
+6 -2

No files matched your search

+2
View File
@@ -6,6 +6,8 @@
- name: Miner | Facts | System | Global
set_fact:
file_server: 'ling@leet'
check_alive_start: "[[ ps -ef | grep -v 'grep' | grep -c '"
check_alive_end: "' == '0' ]] && "
## Config File ##