From 4319b76257df95bc3e6edbc10c161af1bc59a98a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 30 Mar 2021 15:32:35 -0400 Subject: Remove watch from sentry --- Biz/Bild/ShellHook.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Biz/Bild/ShellHook.sh') diff --git a/Biz/Bild/ShellHook.sh b/Biz/Bild/ShellHook.sh index 5c8bf33..99cfe7d 100644 --- a/Biz/Bild/ShellHook.sh +++ b/Biz/Bild/ShellHook.sh @@ -94,8 +94,8 @@ function run-sentry() { https://devalloc.io https://simatime.com https://tv.simatime.com - https://bsima.me - https://herocomics.app + # https://bsima.me + # https://herocomics.app ) for url in ${urls[@]} do @@ -111,8 +111,16 @@ function run-sentry() { esac done } -export -f run-sentry -alias sentry="watch --color --exec bash -c run-sentry" + +function sentry() { + while true + do + clear + printf "%s sentry\n\n" "$(date +%Y.%m.%d..%H.%M)" + run-sentry + sleep 120 + done +} # Poor man's ci function run-ci() { -- cgit v1.2.3