From 76bce3ecfe219d1f42b0a4fcb2c30ec0e8771791 Mon Sep 17 00:00:00 2001 From: Logan Williams Date: Mon, 4 Apr 2022 13:22:31 +0200 Subject: [PATCH] Updated Home (markdown) --- Home.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.