summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-01-01 20:48:07 +0100
committerErich Eckner <git@eckner.net>2024-01-01 20:48:07 +0100
commitd2c2e33f61de5a6f626e9127b02de3265d6a1d97 (patch)
tree70a3e4684f0f9acdff841a3212430b7203ed1509
parent953d24171eeba74e1c1a328e300caad8195d8b46 (diff)
downloadcomputer-time-limit-d2c2e33f61de5a6f626e9127b02de3265d6a1d97.tar.xz
less frequent updates
-rwxr-xr-xcomputer-time-limit2
1 files changed, 1 insertions, 1 deletions
diff --git a/computer-time-limit b/computer-time-limit
index 93feb43..3e38282 100755
--- a/computer-time-limit
+++ b/computer-time-limit
@@ -110,6 +110,6 @@ noch=0
ab=$(date +%s)
while still_logged_in; do
- sleep 1
+ sleep $((15 + ((noch + 15) % 30)))
check_time
done