added back in run parts into cron
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "duplicacy",
|
||||
"version": "20201118.1",
|
||||
"version": "20201118.2",
|
||||
"slug": "duplicacy",
|
||||
"description": "Duplicacy backup",
|
||||
"arch": ["armhf", "armv7"],
|
||||
|
||||
@@ -27,6 +27,6 @@ sed --in-place 's~<BACKUP_SERVER_PATH>~'${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
|
||||
Reference in New Issue
Block a user