I have tried to set this up but it does not seem to work:
20 4 * * 1,4,6,7 PATH=$PATH:/usr/bin /usr/bin/borgmatic prune create -v 1 --files --stats > /mnt/logs/backup-"`date +"%a-%H"`".log
20 4 * * 3 PATH=$PATH:/usr/bin /usr/bin/borgmatic check -v 1 2>&1
First added the statement with notepad but read elsewhere that it might be causing issues so recreated the file in VSC, the issue persists.
Logs are created but with a strange name:
Docker log is full of cron errors as well
Any idea what is going wrong?