Add square root day support. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 65908a8510c7d0583dd70c1e2fb6733b19a99b67
(DIR) parent 68c652ffd39b1c8cd6d95f7414d58a4954cae398
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
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(-)
---
(DIR) 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"|"09-09-81")
+ annna-say -c "#bitreich-en" "Today is Square Root day! What a special day!"
+ ;;
+esac
+