Automate running a command (snapraid) at specific time of the day using crontab
I'm trying to automate running a snapraid command on specific time of the day automatically. Snapraid is a command line backup solution synchronizing data on disks with parity files. I have installed it using homebrew and works just fine from terminal when I give a command interactively.
I have been trying to use launchctl and crontab to automate it. Non worked so far - just nothing. Log file for a command is not touched after scheduled time.
I will create a separate topic for launchctl, but in the meantime, can somebody let me know if I might be missing something about using crontab?
My crontab:
00 17 * * * /usr/local/bin/snapraid sync -c /Volumes/DAS/config/MediaServerVPN/SnapRaid-config/snapraid.conf -l /Volumes/DAS/config/MediaServerVPN/SnapRaid-config/snapraid.log
I gave /usr/local/bin/snapraid full disk access.
Am I missing something? Any advice on troubleshooting it?
Thanks
Mac Pro, macOS 12.7