|
|
Running cleanup scripts
Freeware available at VersionTracker, MacJanitor, runs the three daily/weekly/monthly cleanup scripts for you.
Running cleanup scripts
... or you could just open the terminal and type in one or more of the following commands:
are there only unix administrators here ?
Sure...
are there only unix administrators here ?
No, go in to sh and learn to live with it; go into perl and die. ;)
are there only unix administrators here ?
You should give Cronathon a try. You can download it at nonamescriptware.com. You can also use the freeware Cronnix to schedule when it will run so you don't have to remember. Hope that helps.
are there only unix administrators here ?
Try Macaroni.
---
are there only unix administrators here ?
so your desktop is ugly until the task is completeToo lazy to type command-H? :)
are there only unix administrators here ?
MacJanitor is deaf. As deaf as a bad-mooded unix administrator.
are there only unix administrators here ?
Works fine for me while hidden. Good doggy.
are there only unix administrators here ?
"And anybody who knows the Terminal also knows about cron etc." Actually, this is not true. A lot of the people on MacOSXHints are here to learn the UNIX-layer of Mac OS X. Certainly, I am one of them. Fortunately, there are also lots of propellar-heads who are on MacOSXHints to teach us and to share what they know. :) That being said, cron is not the first thing most people hear about during the learning process. A lot of newbies stumble across cron early on and their reaction is, "WOW! I can make my computer do stuff at certain times without having to run another program? COOL!" But what to actually do with it is another mystery. Imagine how silly I felt thinking that the at command was another cron-like command, only to discover that an entry needed to be made in the crontab to make at work. With all that being said, once you learn about cron and how it works, it is not difficult to edit the crontab to change the times when the janitorial routines actually run. I changed mine to the middle of the day, because that's when my computer is actually powered-on. Here's my actual crontab:
# #*/5 * * * * root /usr/libexec/atrun # # Run daily/weekly/monthly jobs. 15 12 * * * root periodic daily 30 13 * * 5 root periodic weekly 30 14 1 * * root periodic monthly If I'm not sure the monthly ran, I can use:
Nice hint...
...to tell me to search and see if those jobs ever ran. I came out with a clever trick to search all of my logs, even the gzipped ones, with this line:
( cat /var/log/system.log ; gzip -dc /var/log/system.log.* ) | grep daily
And I found that the dailies and weeklies ran as proper scheduled, the daily had rum for example almost every third day.. The monthly job had however never run the last three months... I'll run it now.
are there only unix administrators here ?
Better than MacJanitor would be the simple perlscript found here ( http://theapotek.com/teknotes/archives/000012.html#000012 ) which checks every hour (or whatever you set it to) whether the scripts have been run or not, and if not runs them, completely automatically. Something similar with a GUI is Cronnix, already mentionned before: http://www.koch-schmidt.de/cronnix/ |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|