Mac maintenance/CRON task confusion

Discussion in 'Mac Basics and Help' started by Steven Jackson, Feb 14, 2007.

  1. Steven Jackson macrumors 6502

    Dec 8, 2006
    Lincoln, U.K.

    I know this must have been asked before, probably multiple times, but I can't seem to find a satisfactory answer.

    I know that there are three CRON tasks (daily, weekly, monthy) that should run automatically, but probably don't (on a laptop, at least). I know there are about a million tools out there to force them to run, and that they can be run manually in the terminal (sudo periodic daily weekly monthly).

    At present I am probably worry about this way too much -- I run the terminal command pretty much every time I power-up my machine (followed by repairing permissions, which is a whole other question...).

    So, my question is: is this necessary. And more pertinently (as I've just ordered a new machine) will these commands run automatically on an iMac meaning that my manual tinkering is completely and utterly unnecessary?

    Any help much appreciated.


  2. Steven Jackson thread starter macrumors 6502

    Dec 8, 2006
    Lincoln, U.K.
    Apologies for shamelessly bumping my own post, but I was worried it might have been overlooked due to being posted in the middle of the night. If noone answers this time, I promise I'll let it die.

  3. Macky-Mac macrumors 68030


    May 18, 2004
    EVERY TIME you power up???????? WOW!!!.........I've NEVER run them........and I suspect that the vast majority of Mac owners never manually run any of them
  4. plinden macrumors 68040


    Apr 8, 2004
    Since Tiger these have been launchd processes, no longer cron jobs. There seems to be some issues with launchd.

    I find that the daily, weekly and monthly tasks don't always run when expected and I think it's to do with the launch interval. I have these set to run when the Mac wakes up at 7am in the morning, but I see varying run times in the logs, which seems to depend on how long the Mac has slept during the day.
  5. ElectricSheep macrumors 6502


    Feb 18, 2004
    Wilmington, DE
    Launch Services is supposed to check if a scheduled job was missed, and then run that job the next time the machine is awake. Unfortunately, it doesn't quite work that way just yet (Apple is working on bring this to launchd).

    The solution for machines that spend a lot of time shut off or in sleep mode is to use Anacron.

Share This Page