This commit is contained in:
2020-11-18 12:04:40 -05:00
parent c58621814f
commit e2801153bc
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "duplicacy",
"version": "20201118.3",
"version": "20201118.4",
"slug": "duplicacy",
"description": "Duplicacy backup",
"arch": ["armhf", "armv7"],

View File

@@ -28,6 +28,7 @@ echo ${FILTERS} | jq -r '.[]' >> /.duplicacy/filters
# backup all the data using cron and then remove the
#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
echo "${CRONTAB_RUN} /duplicacy -verbose -log backup -stats; find /backup/* -type f -name '*.tar' -mtime +${DAYS_TO_KEEP} -exec rm {} \;" | crontab -
echo "${CRONTAB_RUN} /duplicacy -verbose -log backup -stats" | crontab -
crontab -l
# run the cron daemon in the forground
/usr/sbin/crond -f -l 0 -L /dev/stdout