satnogs-wut/scripts/spacecruft-jupyter-stop

8 lines
215 B
Bash
Executable File

#!/bin/bash
# do better
killall jupyter-lab && echo "killed"
sleep 2
killall jupyter-lab && echo "again"
ps ax|grep /home/jebba/.local/bin/jupyter-lab | grep -v -e grep -e "/home/jebba/bin/spacecruft-jupyter-stop"