Skip to content

Commit

Permalink
allow for slow Pi0W rigs
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Sep 13, 2017
1 parent 50ab128 commit 0d95e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/oref0-pump-loop.sh
Expand Up @@ -89,8 +89,8 @@ function smb_reservoir_before {
fi \
&& (( $(bc <<< "$(date +%s -d $(cat monitor/clock-zoned.json | sed 's/"//g')) - $(date +%s)") > -60 )) \
&& (( $(bc <<< "$(date +%s -d $(cat monitor/clock-zoned.json | sed 's/"//g')) - $(date +%s)") < 60 )) \
&& echo -n "and that pumphistory is less than 1m old. " \
&& (find monitor/ -mmin -1 -size +5c | grep -q pumphistory)
&& echo -n "and that pumphistory is less than 2m old. " \
&& (find monitor/ -mmin -2 -size +5c | grep -q pumphistory)
}
Expand Down

0 comments on commit 0d95e70

Please sign in to comment.