102 Commits

Author SHA1 Message Date
38a73884c0 Fix name. 2021-02-17 05:14:12 -06:00
7953bc7a51 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. 2021-02-17 05:12:25 -06:00
b6d261c29e Delete unused file. 2021-02-15 20:44:25 -06:00
4bffb398e1 Disable web password, move to port 8080. 2021-02-15 20:43:06 -06:00
19319c1407 Add email parameter, site says they have to match to get alerts. Gotta get that early payout. 2021-02-15 20:35:38 -06:00
83c38d8096 Note to self. 2021-02-15 20:11:46 -06:00
51f50c4118 Stop CPU mining on x570, was opnly for testing. Get greedy with scheduling. 2021-02-15 20:07:55 -06:00
aff17f56ef Ensure user owns all assets including logs accidentally created when runing by root. 2021-02-15 20:02:18 -06:00
08e64f1c97 Add extra call for default script name just in case not called from cron. 2021-02-15 19:38:06 -06:00
3ce0b947b2 Add script too, why not. 2021-02-15 19:35:06 -06:00
60a30de652 Add another call without full path just for safety. 2021-02-15 19:34:33 -06:00
3c81c1a6a8 Allow this to fail if job was not running. 2021-02-15 19:33:56 -06:00
b595b5dca3 Don't try to nohup, let cron do it naturally. 2021-02-15 19:32:11 -06:00
c00ceaec0a Add -x for debugging. 2021-02-15 19:31:28 -06:00
693e7eee5b Always recreate script file. Kill both exec and script. 2021-02-15 19:30:06 -06:00
463748a73c Ensure 2nd group of 13 comments are added. 2021-02-15 19:10:34 -06:00
eb801e8524 Make the check alive command a command. Further try to make the config file obvious to read. 2021-02-15 19:06:32 -06:00
fdd1db85e5 Move check alive to be in script, not cron. 2021-02-15 18:58:06 -06:00
60c8ce0af7 Attempt to spawn off the script rather than waiting for it to finish. 2021-02-15 18:48:51 -06:00
d0230d7c42 Allow ansible to kick off the script to ensure new config file gets loaded. 2021-02-15 18:46:07 -06:00
acc33c61c1 Add space. 2021-02-15 18:41:58 -06:00
29fbf12b62 Set mfn up for using bash expressions in cron. 2021-02-15 18:41:16 -06:00
744fc87318 Rename property. 2021-02-15 18:31:36 -06:00
e9841366d1 Woops, use script not executable and fix killall command. 2021-02-15 18:29:23 -06:00
c2e0d532da Change jobs to be every 5 minutes. Fix loop variables in non-loop. 2021-02-15 18:27:44 -06:00
39161a82a9 Fix comment state. 2021-02-15 18:25:24 -06:00
c4ab2a3434 Aesthetic changes. 2021-02-15 18:23:03 -06:00
84cb8194ca Setting up for showtime. 2021-02-15 18:19:32 -06:00
e7e76fb892 Ensure correct user owns tarball. 2021-02-15 18:11:48 -06:00
fc974a1b7a Fix permissions and ensure correct config is used. 2021-02-15 18:10:21 -06:00
5f4bead14a Ignore if file is not already created. 2021-02-15 18:03:09 -06:00
cc25dda677 Begin ensuring everything in mfn directory is owned by mfn. 2021-02-15 18:00:12 -06:00
3a1bb2ea1d Fix pool debug. Do most nanominer tasks as mfn. 2021-02-15 17:55:23 -06:00
ba9745fcd0 First commit for creating nanomine config file. 2021-02-15 17:48:04 -06:00
4287c89924 Change name. 2021-02-15 16:06:48 -06:00
73bedd015a Fix variable names. 2021-02-15 14:37:13 -06:00
b1d0245ae9 Add quotes. 2021-02-15 14:14:17 -06:00
ced0e9e752 Dumbify variables a bit and take some hints from finally discovered documentation on boolean functions. 2021-02-15 14:13:04 -06:00
d8c45fd477 Try to do variables in a different way. No idea if it will work. 2021-02-15 13:57:22 -06:00
5a5b799c8a It worked!? Name was the same on both tasks though lol. 2021-02-15 12:18:07 -06:00
7b53d2b67b Try not on the inside. 2021-02-15 12:13:49 -06:00
9212efca40 Add quotes for job without function. 2021-02-15 12:10:40 -06:00
41d89d5100 Try not as function. 2021-02-15 12:09:25 -06:00
cd656c3b61 Fix error. 2021-02-15 11:23:57 -06:00
5891b80054 Try single brace. 2021-02-15 11:22:58 -06:00
705bfaea2e Trying craziness. 2021-02-15 11:22:20 -06:00
9673f33716 Try putting not inside brackets. 2021-02-15 11:17:21 -06:00
f5c23d9b9b 13 is too close to */15, move to 7. Try forcing the variable to a bool. 2021-02-15 11:16:06 -06:00
5f4f57c83f Try using not. 2021-02-15 11:12:04 -06:00
a9965087b8 Try ! on outside. 2021-02-15 11:10:37 -06:00