I have a script (which backs up, using
rclone
) that I run from the Terminal or Automator after chmod a+x
with no permissions problems.
When this script is run in cron (or launchd
), stderr shows "/bin/bash: /Users/joshua/script.sh: Operation not permitted."
This approach works fine in Ubuntu.
Edit: The above question remains relevant, but note that launchd
is the favored cron replacement for Mac, while Automator is available for application-level scheduling.
Asked by Joshua Fox
(1387 rep)
Nov 4, 2019, 10:42 AM
Last activity: Jun 26, 2025, 02:07 AM
Last activity: Jun 26, 2025, 02:07 AM