From 3eea59c15f21b434bdd287acd62aa9de6d3ac542 Mon Sep 17 00:00:00 2001 From: M33 <m33@tok715.net> Date: Sat, 15 Aug 2020 18:15:53 +0200 Subject: [PATCH] Update cron-sample.sh --- cron-sample.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/cron-sample.sh b/cron-sample.sh index d1946d2..f54bc4e 100644 --- a/cron-sample.sh +++ b/cron-sample.sh @@ -1,15 +1,14 @@ # activate virtualenv if necessary -# source /home/cquest/.virtualenvs/tootbot/bin/activate +# source /home/YOUR_HOME_DIR/.virtualenvs/tootbot/bin/activate # parameters: # 1- twitter account to clone / or rss/atom feed URL -# 2- mastodon login +# 2- mastodon user account (@your_account) # 3- mastodon password # 4- instance domain (https:// is automatically added) # 5- max age (in days) -# 6- footer tags to add (optionnal) +# 6- footer tags to add +# 7- delay +# 8- mastodon email account (your_email_login@domain.com) -python3 tootbot.py geonym_fr geonym@amicale.net **password** test.amicale.net -python3 tootbot.py cq94 cquest@amicale.net **password** test.amicale.net - -python3 tootbot.py https://www.data.gouv.fr/fr/datasets/recent.atom cquest+opendata@amicale.net **password** amicale.net 2 "#dataset #opendata #datagouvfr" +python3 tootbot.py https://your-rssfeed-source.com/recent.atom @your_mastodon_username_account@botsin.space **password** botsin.space 2 #your_hashtag 0 your_mastondon_email_account -- GitLab