Tweet script
This commit is contained in:
parent
277bb864f4
commit
0faab24dff
1 changed files with 14 additions and 0 deletions
14
scripts/send-reminder-tweets.sh
Executable file
14
scripts/send-reminder-tweets.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd `dirname $0`/..
|
||||||
|
|
||||||
|
cat output/cccs.ical | scripts/tweet-reminders.rb 0 "Heute:" | while read LINE ; do
|
||||||
|
bundle exec t update "$LINE"
|
||||||
|
done
|
||||||
|
cat output/cccs.ical | scripts/tweet-reminders.rb 1 "Morgen:" | while read LINE ; do
|
||||||
|
bundle exec t update "$LINE"
|
||||||
|
done
|
||||||
|
cat output/cccs.ical | scripts/tweet-reminders.rb 7 "In einer Woche:" | while read LINE ; do
|
||||||
|
bundle exec t update "$LINE"
|
||||||
|
done
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue