gopherday-cronjob - 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
---
gopherday-cronjob (302B)
---
1 #!/bin/sh
2 #set -x
3
4 export PATH="$PATH:/home/annna/bin"
5
6 curdate="$( (echo obase=10; date +%j) | bc )"
7 if [ "${curdate}" = "70" ];
8 then
9 annna-say -c "#bitreich-en" "Today is Gopher Port 70 day! Celebrate!"
10 annna-say -s irc.libera.chat -c "#gopherproject" "Today is Gopher Port 70 day! Celebrate!"
11 fi
12