I've been trying to run my periodic daily weekly monthly
on macOS 15.0 Sequoia, without success. Even the /etc/periodic/
folder disappeared.
Does anyone know what happened? How can I run these scripts again?
Sequoia has removed periodic
, which has been deprecated for well over a decade.
The old daily
, weekly
and monthly
scripts were scheduled by launchd
for some years (between Sonoma and Ventura at least); but they have finally been removed from Sequoia.
Many of the tasks haven't been necessary for many years, e.g. cleaning fax temp files.
what does each one of the Sudo Periodic options do?
If you have your own tasks that you want to schedule, they should use launchd
.
Here's a link to documentation about launchd.
https://support.apple.com/en-gb/guide/terminal/apdc6c1077b-5d5d-4d35-9c19-60f2397b2369/mac
(cron
has been similarly deprecated, but is still present, though disabled by default.)
AIUI, Periodic
is (or was) an element of launchd
. However AFAIK cron
remains available, although using it requires some intervention:
Open
System Settings
, go toPrivacy & Security
, and then toFull Disk Access
. Ifcron
is listed, enable it. If it's not listed, click the+
at the bottom of the list and add/usr/sbin/cron
- or whatever location it's been moved to; you can learn this by enteringwhereis cron
in theTerminal
CLI.
If you decide to stick with the more capable, but also far more complex launchd
, I'll make a suggestion: Buy a license for LaunchControl
. FWIW: I've used it for years.