rs-232-cronjob - 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
---
rs-232-cronjob (410B)
---
1 #!/bin/sh
2 #set -x
3
4 export PATH="$PATH:/home/annna/bin"
5
6 curdate="$( date +%j )"
7 if [ "${curdate}" = "231" ];
8 then
9 annna-say -c "#bitreich-en" "One day until RS-232 day! gopher://gopherpedia.com/0/RS-232"
10
11 #countdownd $(date -d "+ 1 day" -I) "#bitreich-en" "RS-232 Day"
12 fi
13
14 if [ "${curdate}" = "232" ];
15 then
16 annna-say -c "#bitreich-en" "Today is RS-232 day! Celebrate! gopher://gopherpedia.com/0/RS-232"
17 fi
18