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