If your computer isn't alway on, but you want to run the periodic maintenance tasks, there's no need for a program such as MacJanitor anymore, the command line program
periodic is here for you! There are a number of options that you need to specify for the program to run correctly; see the
man periodic pages for more information. The basic format is:
% sudo periodic time_period
Replace
time_period with one of
daily,
weekly, or
monthly to run the associated cleanup scripts for that timeframe.
[
Editor's note: I'm not sure how long this command has been there, but I've never noticed it before. I'm also not sure if it's intended to be run from the command line, but it seems to work just fine.]