Add square root day support. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 65908a8510c7d0583dd70c1e2fb6733b19a99b67 | |
parent 68c652ffd39b1c8cd6d95f7414d58a4954cae398 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 6 May 2025 20:21:53 +0200 | |
Add square root day support. | |
Diffstat: | |
A square-root-day-cronjob | 12 ++++++++++++ | |
1 file changed, 12 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/square-root-day-cronjob b/square-root-day-cronjob | |
@@ -0,0 +1,12 @@ | |
+#!/bin/sh | |
+#set -x | |
+ | |
+export PATH="$PATH:/home/annna/bin" | |
+ | |
+curdate="$( date +%d-%m-%y )" | |
+case "${curdate}" in | |
+"01-01-01"|"02-02-04"|"03-03-09"|"04-04-16"|"05-05-36"|"07-07-49"|"08-08-64"|"… | |
+ annna-say -c "#bitreich-en" "Today is Square Root day! What a special … | |
+ ;; | |
+esac | |
+ |