]> jfr.im git - erebus.git/blob - croncheck.sh
fix croncheck to redirect stderr also
[erebus.git] / croncheck.sh
1 #!/bin/bash
2
3 cd /home/jrunyon/erebus
4 exec &>nohup.out
5
6 if ! kill -0 "$(cat pidfile)"; then
7 nohup ./run.sh &
8 fi