URI: 
       Add cronjob for annna's birthday - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 04dedc81dddc3a4f2f40f1e8a3395b33815370ed
   DIR parent 54bf2c2617741716b9afbbf7b4b105f30f0bcfdd
  HTML Author: Scarlett McAllister <no+reply@roygbyte.com>
       Date:   Tue, 26 Mar 2024 06:57:29 -0300
       
       Add cronjob for annna's birthday
       
       Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
       
       Diffstat:
         A annnaversary-cronjob                |      18 ++++++++++++++++++
       
       1 file changed, 18 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/annnaversary-cronjob b/annnaversary-cronjob
       @@ -0,0 +1,18 @@
       +#!/bin/sh
       +
       +export PATH="$PATH:/home/annna/bin"
       +
       +birth="2018-02-04"
       +birthmonth="$( (echo obase = 10; date -d $birth +%m) | bc )"
       +birthday="$( (echo obase = 10; date -d $birth +%d) | bc )"
       +birthyear="$( (echo obase = 10; date -d $birth +%Y) | bc )"
       +curyear="$( date +%Y )"
       +curmonth="$( (echo obase = 10; date +%m) | bc )"
       +curday="$( (echo obase = 10; date +%d) | bc )"
       +message="Today is my birthday! Happy birthday to meeeeeeee!"
       +if [ "${birthmonth}${birthday}" = "${curmonth}${curday}" ];
       +then
       +        annna-say -c "#bitreich-en" "#{message}"
       +        annna-say -s irc.libera.chat -c "#gopherproject" "${message}"
       +fi
       +