Reduced the output

This commit is contained in:
2026-03-29 13:03:47 +02:00
parent e1d9f968a9
commit c7d46d7186
2 changed files with 16 additions and 10 deletions
+2 -2
View File
@@ -53,11 +53,11 @@ else
if [[ "$HC_PING_KEY" ]] ; then
echo -n " runitor -slug ${HOSTNAME}-restic-forget --" >> /tmp/crontab
fi
echo -n " restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --keep-yearly 2 --prune >> /var/log/cron.log &&" >> /tmp/crontab
echo -n " restic forget -q --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --keep-yearly 2 --prune >> /var/log/cron.log &&" >> /tmp/crontab
if [[ "$HC_PING_KEY" ]] ; then
echo -n " runitor -slug ${HOSTNAME}-restic-check --" >> /tmp/crontab
fi
echo -n " restic check >> /var/log/cron.log" >> /tmp/crontab
echo -n " restic check -q >> /var/log/cron.log" >> /tmp/crontab
if [[ "$POST_MAINTENANCE_COMMAND" ]] ; then
echo -n " && $POST_MAINTENANCE_COMMAND" >> /tmp/crontab
fi