From 6a411532689b23aea472c81e580e893ac95001a7 Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Mon, 17 Mar 2014 01:59:45 +0100 Subject: [PATCH] Added a penalty decrement-script --- decrementPenalty.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 decrementPenalty.sh diff --git a/decrementPenalty.sh b/decrementPenalty.sh new file mode 100755 index 0000000..eee66eb --- /dev/null +++ b/decrementPenalty.sh @@ -0,0 +1,2 @@ +#!/bin/zsh +echo 'select current_timestamp; update users set timeout_power = timeout_power - 1 where timeout_power > 0;' | sqlite3 -bail -echo -cmd '.timeout 5000' ~/robot9000/robot9000.sqlite -- 2.43.0