summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crontab12
-rwxr-xr-xssh-hook.sh2
2 files changed, 7 insertions, 7 deletions
diff --git a/crontab b/crontab
index 3cb80c8..eb802a9 100644
--- a/crontab
+++ b/crontab
@@ -1,6 +1,6 @@
-0 1 * * * laminarc queue alpine-amd64
-0 2 * * * laminarc queue turris4x-mox
-0 2 * * * laminarc queue turris4x-omnia
-0 2 * * * laminarc queue turris4x-turris
-0 2 * * * laminarc queue turris3x-omnia
-0 2 * * * laminarc queue turris3x-turris
+0 1 * * * LAMINAR_REASON="Periodic" laminarc queue alpine-amd64
+0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris4x-mox
+0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris4x-omnia
+0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris4x-turris
+0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris3x-omnia
+0 2 * * * LAMINAR_REASON="Periodic" laminarc queue turris3x-turris
diff --git a/ssh-hook.sh b/ssh-hook.sh
index 3643a2a..2980c03 100755
--- a/ssh-hook.sh
+++ b/ssh-hook.sh
@@ -18,6 +18,6 @@ if [ -z "$SSH_ORIGINAL_COMMAND" ]; then
else
echo "Laminar queue: $SSH_ORIGINAL_COMMAND"
- laminarc queue "$SSH_ORIGINAL_COMMAND"
+ LAMINAR_REASON="Git hook" laminarc queue "$SSH_ORIGINAL_COMMAND"
fi