ed-cronjob - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
ed-cronjob (406B) | |
--- | |
1 #!/bin/sh | |
2 #set -x | |
3 | |
4 export PATH="$PATH:/home/annna/bin" | |
5 | |
6 curdate="$( (echo obase=16; date +%j) | bc )" | |
7 if [ "${curdate}" = "EC" ]; | |
8 then | |
9 annna-say -c "#bitreich-en" "One day until ED day! gophers://bit… | |
10 | |
11 #countdownd $(date -d "+ 1 day" -I) "#bitreich-en" "ED day" | |
12 fi | |
13 | |
14 if [ "${curdate}" = "ED" ]; | |
15 then | |
16 annna-say -c "#bitreich-en" "Today is ED day! Celebrate! gophers… | |
17 fi | |
18 |