Crontab on macOS

posted on 08:17 AM on Monday 27 February 2023

In the more recent version of macOS, the security model by default prevents crontab from working as crontab cannot access the filesystem.

To resolve this, open "System Settings" and navigate to "Security & Privacy" -> "Privacy" -> "Full Disk Access". Click on the "+" button at the bottom to add an entry for crontab (/usr/sbin/cron), you can use command + shift + g to specify the cron binary.

Got this hint from If Any of Your Crontab Tasks No Longer Works on macOS Catalina.