Citazione:
[1] Each maintenance script — daily, weekly, and monthly — has a specific function.
The daily script removes old log files, "scratch" and "junk" files, backs-up the NetInfo database, reports a variety of system and network statistics, and rotates the system.log file. Under Tiger, the daily script also cleans up scratch fax files and prunes asl.log, the log for the new Apple System Logging facility.
The output from the daily script is written to the /var/log/daily.out file, which can be viewed in Console.
By default, the daily script is scheduled to run daily at 03:15 hours local time.
The weekly script rebuilds the locate and whatis databases and rotates — depending on the version of Mac OS X you are using — the following log files: ftp.log, lookupd.log, lpr.log, mail.log, netinfo.log, ipfw.log, ppp.log, and secure.log
The output from the weekly script is written to the /var/log/weekly.out file, which can be viewed in Console.
By default, the weekly script is scheduled to run every Saturday at the following times:
Under Tiger: 03:15 hours local time.
Under Panther and Jaguar: 04:30 hours local time.
The monthly script reports per-user usage accounting and rotates — depending on the version of Mac OS X you are using — the wtmp, install.log, and cu.modem.log files.
The output from the monthly script is written to the /var/log/monthly.out file, which can be viewed in Console.
By default, the monthly script is scheduled to run on the first of the month at 05:30 hours local time.
How the schedule for each script is specified depends on the version of Mac OS X you are using:
Under Tiger, the new launchd process invokes each script on a schedule specified in a script-specific property list (.plist file) in the /System/Library/LaunchDaemons directory. The specific property list for each script is as follows:
daily script: com.apple.periodic-daily.plist
weekly script: com.apple.periodic-weekly.plist
monthly script: com.apple.periodic-monthly.plist
Additional information about launchd can be found in the Apple Developer Connection document System Startup Programming Topics.
Under Panther and Jaguar, the schedule is specified in the System crontab file. You can easily view or edit this file with the donationware utility Cronnix. The cron process launches the scripts based on the scheduled specified in crontab.
A me non sembra proprio indispensabile tutta stà roba che dici? Soprattutto per l'uso quotidiano domestico...