From c58689ae20b18737c5f759517ee2965b93115a3b Mon Sep 17 00:00:00 2001 From: Wesley Aptekar-Cassels Date: Sat, 25 Mar 2023 20:21:00 -0400 Subject: [PATCH] Adjust sample postgres-docker cron file Only delaying one minute between backup and weeding means that the backup script could potentially still be running when the weed script is, which isn't good. Instead, wait a little longer. --- postgres-docker/cronfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres-docker/cronfile b/postgres-docker/cronfile index 543cbce00..57b762107 100644 --- a/postgres-docker/cronfile +++ b/postgres-docker/cronfile @@ -2,4 +2,4 @@ # If uncommented, this script will weed the backups directory. It will keep the 14 # most-recent backups, then one backup/week for the next four backups, then one # backup/month after that. -# 0 1 * * * /usr/local/bin/bookwyrm-weed.sh -d 14 -w 4 -m -1 /backups +# 0 5 * * * /usr/local/bin/bookwyrm-weed.sh -d 14 -w 4 -m -1 /backups