Updated Home (markdown)

Logan Williams
2022-04-04 13:22:31 +02:00
parent 1bd8ded21a
commit 76bce3ecfe

@@ -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.