Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
start.sh rewritten
  • Loading branch information
herbertsteininger committed Apr 14, 2017
1 parent 1ab89ab commit 17fd574
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions start.sh
@@ -1,6 +1,12 @@
#!/bin/bash

/usr/local/MatLab/2017a/etc/lmstart -v -u matlab
/usr/local/MatLab/2017a/etc/lmstat

/bin/bash
while [ true ]
do
MATLAB=$(ps aux | grep lm_TMW)
if [ ! "$MATLAB" ]
then
/usr/local/MatLab/2017a/etc/lmstart -v -u matlab
fi
sleep 15
MATLAB=""
done

0 comments on commit 17fd574

Please sign in to comment.