Add a sample bash script
This commit is contained in:
parent
9b7093e478
commit
e40a5447ee
1 changed files with 21 additions and 0 deletions
21
examples/FediFetcher.sh
Normal file
21
examples/FediFetcher.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
# This script is a sample script that you can schedule
|
||||
# to run every 10 minutes from your cron job.
|
||||
# Supply any other arguments, as you see fit.
|
||||
|
||||
###################### IMPORTANT ######################
|
||||
# #
|
||||
# YOU SHOULD RUN THIS SCRIPT MANUALLY AT LEAST ONCE #
|
||||
# WITH YOUR CHOSEN ARGUMENTS, TO AVOID CONCURRENT #
|
||||
# EXECUTIONS OF FEDIFETCHER! #
|
||||
# #
|
||||
###################### IMPORTANT ######################
|
||||
|
||||
|
||||
cd /path/to/FediFetcher
|
||||
python find_posts.py \
|
||||
--access-token=TOKEN \
|
||||
--server=your.server.social \
|
||||
--home-timeline-length=200 \
|
||||
--max-followings=80 \
|
||||
--from-notifications=1 \
|
||||
--lock-hours=1
|
Loading…
Reference in a new issue