ajout de emptybot

This commit is contained in:
2019-01-27 07:28:31 +01:00
parent ab2d7de654
commit f597fc4995
9 changed files with 242 additions and 10 deletions

View File

@@ -53,9 +53,23 @@ then
echec
fi
if [ ! -d $DATA_PATH/twitterbot ]
then
mkdir -p $DATA_PATH/twitterbot
fi
if [ ! -d $DATA_PATH/emptybot ]
then
mkdir -p $DATA_PATH/emptybot
fi
#
# TWEET
#
# tweet Topisto : empty blocks
$APPS_PATH/twitter/emptybot/robot.sh 2>&1
TWEET=8
if [ $((MINUTE % $TWEET)) -eq 0 ]
then
@@ -67,7 +81,7 @@ then
# "auto likes" from Topisto
$APPS_PATH/twitter/likebot/robot.sh 2>&1
else
debug "no TWEET"
debug "skip TWEET"
fi
#