Home
lawn-hark-cronjob.sh - gopher-lawn - The gopher lawn gopher directory project. HTML git clone git://bitreich.org/gopher-lawn/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-lawn/ DIR Log DIR Files DIR Refs DIR Tags --- lawn-hark-cronjob.sh (355B) --- 1 #!/bin/sh 2 3 export PATH="/home/annna/bin:$PATH" 4 5 statusserver="irc.bitreich.org" 6 statuschannel="#bitreich-lawn" 7 8 lawnharkdir="/br/gopher/lawn/lawn-hark" 9 cd "${lawnharkdir}" 10 11 ./lawn-hark.sh state ../db/* 2>&1 \ 12 | while read -r result; 13 do 14 case "${result}" in 15 ERROR*) 16 annna-say -s "${statusserver}" -c "${statuschannel}" \ 17 "${result}" 18 ;; 19 esac 20 done 21