File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mac OS and the fly likes Mac maintenance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Mac maintenance " Watch "Mac maintenance " New topic
Author

Mac maintenance

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Are any regular clean up or other regular maintenance operations recommended?

Since I got the Mac, I have not shut it down (always sleep), except when required after a software update.
Recently I noticed its started to slow down a bit. Is it because Mac is caching some files or something? ( I have opted not to turn the time machine on. Its off)
PS. I have 4 GIG RAM.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Stephan Mueller
Ranch Hand

Joined: May 05, 2010
Posts: 50
OSX has pre-built scripts that are scheduled to run at night and are responsible for several cleanup tasks.
Check for the scripts that are run on a daily/weekly/monthly base.
http://www.ehow.com/how_5096934_run-mac-os-maintenance-scripts.html holds a reference for manually running the scripts.

Google may give you several results for tweaking these scripts but it's uncertain if this is really necessary.

Usually, as with any *nix system a very-very-long uptime should not produce any problems as long as there are no zombies
or leaking applications hanging around in your memory.


1. Make it run - 2. Make it run correctly - 3. Make it pretty OR fast/small - 4. ??? - 5. Profit
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Thanks Stephan.
I followed the link and ran the script(s) from the command line.

Where exactly is /private/etc/periodic located? I am unable to find it. I was expecting it under Macintosh HD. Not there under Applications or Library or System either.

Also, is there a way to change the schedule? I loathe to waste electricity by letting the Mac run the whole night and I let it sleep instead. If I can reschedule, I would rather do it during the morning when I usually come awake over my coffee and mails.
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Maneesh Godbole wrote:Thanks Stephan.
I followed the link and ran the script(s) from the command line.

Where exactly is /private/etc/periodic located? I am unable to find it. I was expecting it under Macintosh HD. Not there under Applications or Library or System either.

Also, is there a way to change the schedule? I loathe to waste electricity by letting the Mac run the whole night and I let it sleep instead. If I can reschedule, I would rather do it during the morning when I usually come awake over my coffee and mails.


The path should work without /private - only /etc/periodic

About the reschedule part: http://hints.macworld.com/article.php?story=20050430015530348


Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mac maintenance