diff --git a/megafono_bot.sh b/megafono_bot.sh index 9c88b0d..b37b9e4 100755 --- a/megafono_bot.sh +++ b/megafono_bot.sh @@ -9,9 +9,12 @@ FLOOR_HOUR_SLEEP_INTERVAL=5 CEILING_HOUR_SLEEP_INTERVAL=19 # File containing the toots to post +if [ ! -z "$1" ]; then + DATA_FILE=$1 +else DATA_FILE=megafono.txt +fi -# # CONFIGURATION END #