diff --git a/Home.md b/Home.md index fee581f..f71d8b1 100644 --- a/Home.md +++ b/Home.md @@ -8,8 +8,8 @@ The .env file can be inspected as necessary. This contains information for conne It is run regularly using the following cron jobs: ``` -2 * * * * . $HOME/.profile; cd /root/cisticola; /usr/bin/flock -w 0 scraper.lock pipenv run python app.py scrape-channels -32 * * * * . $HOME/.profile; cd /root/cisticola; /usr/bin/flock -w 0 media.lock pipenv run python app.py archive-media +0 0,4,8,12,16,20 * * * . $HOME/.profile; cd /root/cisticola; /usr/bin/flock -w 0 scraper.lock pipenv run python app.py scrape-channels +59 * * * * . $HOME/.profile; cd /root/cisticola; /usr/bin/flock -w 0 scraper.lock pipenv run python app.py archive-media ``` `flock` is used to ensure that there is only one archiver or scraper running at any given point in time.