first commit

This commit is contained in:
2018-09-02 10:26:34 +02:00
commit a62ea0fa19
53 changed files with 3823 additions and 0 deletions

19
twitter/likebot/robot.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
flag=$TMP_PATH/topisto_bot.flag
if [ -f $flag ];
then
echo "likebot_bot is already running !"
exit 0
fi
touch $flag
cd $APPS_PATH/twitter/likebot
if [ 4 -gt $((RANDOM % 100)) ]
then
php topisto.php
fi
rm -f $flag