Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (20 sloc) 613 Bytes
#/bin/bash
echo `dirname "$0" `
cd `dirname "$0" `
./timecubetrends.py > trending.txt
sleep 1
selection=$RANDOM
echo $selection
if [ "$selection" -gt "30719" ]; then
# Mention: 1/16
./markov.py --length 1 --for_twitter --input src.txt --mention `./timecuberandomuser.py` | ./timecubetweet.py
elif [ "$selection" -gt "26623" ]; then
# Trending: 2/16
./markov.py --length 1 --for_twitter --input src.txt --trending trending.txt | ./timecubetweet.py
else
# Normal: 13/16
./markov.py --length 1 --for_twitter --input src.txt | ./timecubetweet.py
fi
sleep 1
./timecubeunfollow.py -n 12
./timecubefollow.py -n 24