Benches macOS

3

sudo periodic

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi,

What does "sudo periodic daily(weekly, & monthly)" do?

Other commands to keep my iMac in shape?

Thanks.

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Klaus1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Sudo explained:

    http://en.wikipedia.org/wiki/Sudo

    Apple documentation on Sudo for Leopard:

    http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/1 0.5/man8/sudo.8.html?useVersion=10.5

    What the maintenance scripts actually do:

    http://www.thexlab.com/faqs/maintscripts.html

    All good night time reading! 🙂

  2. 0

    Király

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The daily, weekly, and monthly periodic tasks rotate log files and do some other maintenance tasks. They run all by themselves, in the middle of the night.

    In earlier versions of OS X (10.3 and earlier), the periodic tasks wouldn't run if the machine was off or asleep overnight. So users had to run the tasks manually with
    sudo periodic daily weekly monthly, or with a tool like MacJanitor. But since 10.4 and 10.5, running it manually is no longer necessary. The launchd daemon now ensures that if the tasks will run later if they were missed at their regular overnight times.

  3. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    JhnD wrote:

    Hi,

    What does "sudo periodic daily(weekly, & monthly)" do?

    it runs some periodic cleaning scripts as its name suggests. there is
    zero reason to run this command by hand in leopard. the system runs them periodically itself. and those scripts are highly useless anyway. they will do nothing to "keep your iMac in shape".

    http://discussions.apple.com/message.jspa?messageID=8906776#8906776

    Other commands to keep my iMac in shape?

    nothing much is required. OS X takes good care of itself. run 'repair permissions once when you do system updates and run "repair disk" after hard shutdowns or power outages. keep sufficient free space on the drive at all times (at least 10-15%) to avoid potentially serious issues resulting from disk fragmentation. most importantly, *BACK UP, BACK UP, BACK UP*.

    Thanks.