You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Terminal commands, periodic etc

Someone could explain, exactly, what does this command in the terminal: sudo periodic daily weekly monthly? A sort of registry cleaning? Linux style? Thank you 😉

MacBook Pro with Retina display, macOS Mojave (10.14), Nvidia 750M + 16 GB of Ram

Posted on Oct 1, 2018 4:26 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 1, 2018 2:17 PM

There periodic housekeeping tasks are run automatically as needed by the operating system when the machine first boots in the morning, or at 3am if already running. In the Terminal, you can:


man periodic


and read what each of these launchd shell scripts perform.


Although you can run them individually from the command-line, this would be redundant, as they would have already run.

4 replies
Question marked as Top-ranking reply

Oct 1, 2018 2:17 PM in response to Birkhoff92

There periodic housekeeping tasks are run automatically as needed by the operating system when the machine first boots in the morning, or at 3am if already running. In the Terminal, you can:


man periodic


and read what each of these launchd shell scripts perform.


Although you can run them individually from the command-line, this would be redundant, as they would have already run.

Oct 1, 2018 4:40 AM in response to Birkhoff92

These are “maintenance” scripts that your system runs er... periodically - as each of their names indicates.


There is usually no reason for the user to run them manually.

In the old days (several versions ago) one might want to do this because these scripts were sometimes not run if the system happened to be sleeping at their scheduled time (which was often the case, since they were to be run at 3am or so). Not anymore. They are run at the first opportunity at or after their scheduled time.

Terminal commands, periodic etc

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.