From 12f74fc40a3c55fcecf09246defe7a4dc1be0e90 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Tue, 18 Jan 2022 09:05:10 -0800 Subject: [PATCH] fix: docker cron config timing and doc This wasn't matching up with what's suggested in doc/maintenance. This patch resolves that inconsistency. Signed-off-by: Kevin Morris --- INSTALL | 10 +++++----- docker/config/aurweb-cron | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/INSTALL b/INSTALL index 4b904e25..3821d7d1 100644 --- a/INSTALL +++ b/INSTALL @@ -120,12 +120,12 @@ The following crontab file uses every script meant to be run on an interval: AUR_CONFIG='/etc/aurweb/config' - */5 * * * * bash -c 'poetry run aurweb-aurblup' */5 * * * * bash -c 'poetry run aurweb-mkpkglists --extended' - */5 * * * * bash -c 'poetry run aurweb-pkgmaint' - */5 * * * * bash -c 'poetry run aurweb-usermaint' - */5 * * * * bash -c 'poetry run aurweb-tuvotereminder' - */5 * * * * bash -c 'poetry run aurweb-popupdate' + */2 * * * * bash -c 'poetry run aurweb-aurblup' + */2 * * * * bash -c 'poetry run aurweb-pkgmaint' + */2 * * * * bash -c 'poetry run aurweb-usermaint' + */2 * * * * bash -c 'poetry run aurweb-popupdate' + */12 * * * * bash -c 'poetry run aurweb-tuvotereminder' 7) Create a new database and a user and import the aurweb SQL schema: diff --git a/docker/config/aurweb-cron b/docker/config/aurweb-cron index 8b502149..21fd35dc 100644 --- a/docker/config/aurweb-cron +++ b/docker/config/aurweb-cron @@ -1,7 +1,7 @@ AUR_CONFIG='/aurweb/conf/config' -*/5 * * * * bash -c 'aurweb-aurblup' */5 * * * * bash -c 'aurweb-mkpkglists --extended' -*/5 * * * * bash -c 'aurweb-pkgmaint' -*/5 * * * * bash -c 'aurweb-usermaint' -*/5 * * * * bash -c 'aurweb-tuvotereminder' -*/5 * * * * bash -c 'aurweb-popupdate' +*/2 * * * * bash -c 'aurweb-aurblup' +*/2 * * * * bash -c 'aurweb-pkgmaint' +*/2 * * * * bash -c 'aurweb-usermaint' +*/2 * * * * bash -c 'aurweb-popupdate' +*/12 * * * * bash -c 'aurweb-tuvotereminder'