Fix path to backup files

This commit is contained in:
Ian 2021-12-25 10:20:18 -08:00
parent 2b749a7f76
commit 8ec9e96d7b

View File

@ -9,7 +9,7 @@ if bashio::config.true 'prune.delete'; then
fi fi
if [ -n "$TIMEGAPS_RULES" ] && [ -n "$TIMEGAPS_CRON" ]; then if [ -n "$TIMEGAPS_RULES" ] && [ -n "$TIMEGAPS_CRON" ]; then
COMMAND="timegaps $TIMEGAPS_DELETE $TIMEGAPS_RULES /backups/*.tar" COMMAND="timegaps $TIMEGAPS_DELETE $TIMEGAPS_RULES /backup/*.tar"
echo "$TIMEGAPS_CRON $COMMAND" >> /etc/crontabs/root echo "$TIMEGAPS_CRON $COMMAND" >> /etc/crontabs/root
crontab -l crontab -l