Hartz wrote:Cerchiamo di fare un po' di chiarezza.
I cron script sono necessari, ma purtroppo Apple ha previsto che avvengano di notte…
:smt025
Hartz, mi permetto di insistere: I cron script
non sono necessari.
Potenzialmente utili se vogliamo ma non "necessari".
Chiariamo una volta per tutte che cosa fanno:
[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...
Quello che cerco di combattere con questo mio post è l'abuso di queste utility che il più delle volte IMHO vengono utilizzate per pura curiosità con effetti spesso indesiderati.
E non è una opinione solo mia.
Scrivere poi che "I cron script
sono necessari" non fà altro che stimolare questa curiosità perchè il novizio si illude che poi il computer vada "meglio".. Ma chissà mai cos'é questo "meglio"

:

:

:
Poi naturalmente ognuno fà quello che vuole ma inutile poi piangere lacrime di coccodrillo sul latte versato.
Dovremmo trovarci tutti d'accordo nel dire che un system quando funziona bene, meno lo tocchi e meglio è...
Un'ultima cosa relativa all'accensione notturna.
Premesso che in ogni caso serve ad eseguire il primo dei tre script, quello forse più utile perchè fa il backup di NetInfo, mi sembra di aver letto da qualche parte, che se è passata la scadenza, dovrebbero avviarsi anche gli altri.
Ma su questo mi devo documentare.
Ciao orso! non ti arrabbiare se non la penso come te!
/P