Tweet script

This commit is contained in:
Stefan Schlott 2018-06-19 19:21:48 +02:00
parent 277bb864f4
commit 0faab24dff

14
scripts/send-reminder-tweets.sh Executable file
View 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