pi-day-cronjob - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
pi-day-cronjob (358B) | |
--- | |
1 #!/bin/sh | |
2 #set -x | |
3 | |
4 export PATH="$PATH:/home/annna/bin" | |
5 | |
6 curdate="$( date +%d-%m )" | |
7 if [ "${curdate}" = "14-03" ]; | |
8 then | |
9 annna-say -c "#bitreich-en" "Today is π day!" | |
10 fi | |
11 if [ "${curdate}" = "28-06" ]; | |
12 then | |
13 annna-say -c "#bitreich-en" "Today is 2π day!" | |
14 fi | |
15 if [ "${curdate}" = "22-07" ]; | |
16 then | |
17 annna-say -c "#bitreich-en" "Today is approximate π day!" | |
18 fi | |
19 |