Maintenance Scripts not Running

I've just realized that my "daily, weekly, & monthly" scripts have only run once since buying this computer. That was a year ago. I use to have Anacron on my power pc to run them and it migrated from my old computer, but removed it shortly after following the uninstall instructions. I don't know if this had anything to do with the problem.

I ran all scripts manually in terminal and checked the Console log to verify that the scripts would work, and all ran fine. However, what am I missing that is not letting it run as designed on it own?
I know most will say it's not important and I don't really want to do it manually.

I just want to figure out how to get it to work without reinstalling OSX.

iMac Intel 21.5", Mac OS X (10.6.6), 8 Gig Ram

Posted on Feb 26, 2011 7:32 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 26, 2011 5:34 PM

ok, good 🙂

if 'disabled =1' for all three, then the following commands should change that, and subsequently they should show in the output of
sudo launchctl list | grep periodic which presumably they don't currently



sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.periodic-daily.plist


sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.periodic-monthly.plist


sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.periodic-weekly.plist
21 replies

Feb 27, 2011 10:08 AM in response to WZZZ

aw WZZZ, I just blunder around - forgetting much between times.

the launchctl load -w's are standard ones you've seen - coulda run those right off, since they do nothing (just an error message) if the item is already enabled. It's nice to see what's wrong though.

overrides: I've not seen an official apple page about - dug that up after wondering where the disabled flag was stored. There's one for root, & (usually) empty ones for other users, from what I see.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Maintenance Scripts not Running

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