Skip to content
Browse files

If quickfix runs 90 minutes, kill and update

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 29, 2019
1 parent ad040bd commit bab493e7b8e3d34bbcc915cbeda6d2647cec507f
Showing with 10 additions and 0 deletions.
  1. +10 −0
@@ -30,3 +30,13 @@ else


# This is ONLY a failsafe: If quickfix has been running > 90 minutes, it's pretty apparent something is wrong, so do a git pull in case a patch has been issued
quickfix=`/usr/local/bin/nems-info quickfix`
if [[ $quickfix == 1 ]]; then
if [[ $(find "/var/run/" -mmin +90 -print) ]]; then
kill `cat /var/run/`
cd /usr/local/share/nems/nems-scripts
git pull

0 comments on commit bab493e

Please sign in to comment.
You can’t perform that action at this time.