diff options
author | Ben Sima <ben@bsima.me> | 2021-03-30 15:32:35 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-03-30 15:32:35 -0400 |
commit | 4319b76257df95bc3e6edbc10c161af1bc59a98a (patch) | |
tree | 341e4ab9dd3fc18d8635ab5e54c9d63d802ee00e /Biz | |
parent | cb1dfb2d92436a0f8ad39ed39d91d10686645089 (diff) |
Remove watch from sentry
Diffstat (limited to 'Biz')
-rw-r--r-- | Biz/Bild/ShellHook.sh | 16 |
1 files changed, 12 insertions, 4 deletions
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() { |