iAdd lawn-hark cronjob file. - gopher-lawn - The gopher lawn gopher directory project. Err bitreich.org 70 hgit clone git://bitreich.org/gopher-lawn/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-lawn/ URL:git://bitreich.org/gopher-lawn/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-lawn/ bitreich.org 70 1Log /scm/gopher-lawn/log.gph bitreich.org 70 1Files /scm/gopher-lawn/files.gph bitreich.org 70 1Refs /scm/gopher-lawn/refs.gph bitreich.org 70 1Tags /scm/gopher-lawn/tag bitreich.org 70 i--- Err bitreich.org 70 1commit 535a392c7bd1d1c3a9cb6b1c707a9bc5c9a1b3c3 /scm/gopher-lawn/commit/535a392c7bd1d1c3a9cb6b1c707a9bc5c9a1b3c3.gph bitreich.org 70 1parent ee7a798530add04897221c9b89c3212a41836375 /scm/gopher-lawn/commit/ee7a798530add04897221c9b89c3212a41836375.gph bitreich.org 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70 iDate: Wed, 30 Aug 2023 21:12:57 +0200 Err bitreich.org 70 i Err bitreich.org 70 iAdd lawn-hark cronjob file. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i A lawn-hark/lawn-hark-cronjob.sh | 21 +++++++++++++++++++++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 21 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/lawn-hark/lawn-hark-cronjob.sh b/lawn-hark/lawn-hark-cronjob.sh /scm/gopher-lawn/file/lawn-hark/lawn-hark-cronjob.sh.gph bitreich.org 70 i@@ -0,0 +1,21 @@ Err bitreich.org 70 i+#!/bin/sh Err bitreich.org 70 i+ Err bitreich.org 70 i+export PATH="/home/annna/bin:$PATH" Err bitreich.org 70 i+ Err bitreich.org 70 i+statusserver="irc.bitreich.org" Err bitreich.org 70 i+statuschannel="#bitreich-lawn" Err bitreich.org 70 i+ Err bitreich.org 70 i+lawnharkdir="/br/gopher/lawn/lawn-hark" Err bitreich.org 70 i+cd "${lawnharkdir}" Err bitreich.org 70 i+ Err bitreich.org 70 i+./lawn-hark.sh state ../db/* 2>&1 \ Err bitreich.org 70 i+| while read -r result; Err bitreich.org 70 i+do Err bitreich.org 70 i+ case "${result}" in Err bitreich.org 70 i+ ERROR*) Err bitreich.org 70 i+ annna-say -s "${statusserver}" -c "${statuschannel}" \ Err bitreich.org 70 i+ "${result}" Err bitreich.org 70 i+ ;; Err bitreich.org 70 i+ esac Err bitreich.org 70 i+done Err bitreich.org 70 i+ Err bitreich.org 70 .