From d14d4544cb94b3de43c05413960e880f3fae617f Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Wed, 18 Nov 2020 11:36:24 -0500 Subject: [PATCH] added back in run parts into cron --- duplicacy/config.json | 2 +- duplicacy/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/duplicacy/config.json b/duplicacy/config.json index bdc1bed..cb254ee 100644 --- a/duplicacy/config.json +++ b/duplicacy/config.json @@ -1,6 +1,6 @@ { "name": "duplicacy", - "version": "20201118.1", + "version": "20201118.2", "slug": "duplicacy", "description": "Duplicacy backup", "arch": ["armhf", "armv7"], diff --git a/duplicacy/run.sh b/duplicacy/run.sh index bdddb6a..351cfd5 100644 --- a/duplicacy/run.sh +++ b/duplicacy/run.sh @@ -27,6 +27,6 @@ sed --in-place 's~~'${BACKUP_SERVER_PATH}'~' /.duplicacy/pre echo ${FILTERS} | jq -r '.[]' >> /.duplicacy/filters # backup all the data using cron and then remove the -echo "${CRONTAB_RUN} /duplicacy -verbose -log backup -stats; find /backup/* -type f -name '*.tar' -mtime +${DAYS_TO_KEEP} -exec rm {} \;" >> /etc/crontabs/root +echo "${CRONTAB_RUN} run-parts /duplicacy -verbose -log backup -stats; find /backup/* -type f -name '*.tar' -mtime +${DAYS_TO_KEEP} -exec rm {} \;" >> /etc/crontabs/root # run the cron daemon in the forground /usr/sbin/crond -f -l 0 \ No newline at end of file