Introduction
Introduction Statistics Contact Development Disclaimer Help
Add gopherday cronjob to annna. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit cb504c8118291b0f35813431ffe45edb93760d36
parent cc6fad6d8b6e3fb43c6b92aa6051d43703398263
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 30 Jul 2023 17:55:53 +0200
Add gopherday cronjob to annna.
Diffstat:
A gopherday-cronjob | 11 +++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gopherday-cronjob b/gopherday-cronjob
@@ -0,0 +1,11 @@
+#!/bin/sh
+#set -x
+
+export PATH="$PATH:/home/annna/bin"
+
+curdate="$( (echo obase=10; date +%j) | bc )"
+if [ "${curdate}" = "70" ];
+then
+ annna-say -c "#bitreich-en" "Today is Gopher Port 70 day! Celebrate!"
+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.