/etc/periodic/daily/100.clean-logs
/etc/periodic/daily/500.daily
/etc/periodic/monthly/500.monthly
/etc/periodic/weekly/500.weekly
By default, /etc/crontab runs them in the wee
hours of the night:
15 3 * * * root periodic daily
30 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
So, if your Mac is not usually turned on at those times, you could
either edit the crontab file or remember to run
them periodically using the following syntax:
sudo periodic daily weekly monthly
You should not modify these files, because they may be replaced by
future system updates. Instead, create a
/etc/daily.local,
/etc/weekly.local, or
/etc/monthly.local file to hold your
site-specific cron jobs. The cron jobs are
simply shell scripts that contain commands to be run as
root. The local cron jobs
are invoked at the end of the 500.daily,
500.weekly, and 500.monthly
scripts found in the /etc/periodic
subdirectory.