summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-03-30 15:32:35 -0400
committerBen Sima <ben@bsima.me>2021-03-30 15:32:35 -0400
commit4319b76257df95bc3e6edbc10c161af1bc59a98a (patch)
tree341e4ab9dd3fc18d8635ab5e54c9d63d802ee00e
parentcb1dfb2d92436a0f8ad39ed39d91d10686645089 (diff)
Remove watch from sentry
-rw-r--r--Biz/Bild/ShellHook.sh16
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() {