Introduction
Introduction Statistics Contact Development Disclaimer Help
newyear-cronjob - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
newyear-cronjob (405B)
---
1 #!/bin/sh
2 #set -x
3
4 export PATH="$PATH:/home/annna/bin"
5
6 curdate="$(LANG=C date -I | cut -d- -f 2-)"
7 if [ "${curdate}" = "12-31" ];
8 then
9 annna-say -s "irc.bitreich.org" -c "#bitreich-en" "One day until…
10
11 countdownd $(date -d "+ 1 day" -I) "#bitreich-en" "New Year"
12 fi
13
14 if [ "${curdate}" = "01-01" ];
15 then
16 annna-say -s "irc.bitreich.org" -c "#bitreich-en" "Today is a ne…
17 fi
18
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.