Shell command works fine as is, but not when executed from crontab. What's the difference?
Might you be running a version of macOS where cron needs to be granted disk access?


On Catalina, how can a cronjob get permission to touch files on a USB disk?