macos-scheduled-personal-data
Installation
SKILL.md
Scheduled access to protected macOS data
A cron or launchd job that reads iMessage, Safari history, Screen Time,
Mail, Reminders, Photos or Notes will fail, even when the same command works
in your terminal. Everything below was measured on macOS 25.6, not inferred.
The rule that explains every failure
macOS attributes a Full Disk Access grant to the Mach-O image that opens the
file. Not the app that started it. Not the script. The binary that calls
open().
Interactive runs hide this, because your terminal already holds FDA and every
child inherits the attribution. The job only fails once launchd runs it with
no FDA-holding ancestor. So testing by hand proves nothing. Always test
through launchctl kickstart.