2 # Grabs tweets and writes them to a file
4 FILE=/root/tweets/index.html
5 LOGFILE=/root/tweets/cron.log
7 curl https://nitter.net/keshinko | grep tweet-content | head -n 1 | sed -e 's/<[^>]*>//g' -e 's/^[ \t]*\(.*$\)/\1/' >> $FILE
8 tail -n 1000 $LOGFILE > $LOGFILE