Introduction
Introduction Statistics Contact Development Disclaimer Help
Add all three pi days. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 025960ee328665a7652e54988bbe9c32759a6d63
parent de74d2e45c9514f41978fb7bf17abb22aaf6cd1c
Author: Annna Robert-Houdin <[email protected]>
Date: Tue, 6 May 2025 20:15:04 +0200
Add all three pi days.
Diffstat:
A pi-day-cronjob | 19 +++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/pi-day-cronjob b/pi-day-cronjob
@@ -0,0 +1,19 @@
+#!/bin/sh
+#set -x
+
+export PATH="$PATH:/home/annna/bin"
+
+curdate="$( date +%d-%m )"
+if [ "${curdate}" = "14-03" ];
+then
+ annna-say -c "#bitreich-en" "Today is π day!"
+fi
+if [ "${curdate}" = "28-06" ];
+then
+ annna-say -c "#bitreich-en" "Today is 2π day!"
+fi
+if [ "${curdate}" = "22-07" ];
+then
+ annna-say -c "#bitreich-en" "Today is approximate π day!"
+fi
+
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.