Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Check system maintenance tasks at startup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Check system maintenance tasks at startup
Authored by: ld on Mar 21, '05 09:42:56PM

Hi there,

you're right. It doesn't help (on its own) for those who leave their laptops on. It wasn't meant to be a one-size-fits-all tip. But something that I decided to use. I'm a programmer and so like to find (and in so doing learn) ways of doing things myself rather than simply pull down a ready-made tool. Ready-made tools don't teach you about the system.

So, If there's other tools out there that fit the bill for your purposes - that's great. Having a choice is good. The other good thing about all the feedback is seeing where this type of hint could be improved. That's the great thing about this forum.

Anyway, the /Library/StartupItems is a standard built-in system tool. I was interested in putting something into place that met the following criteria:

  1. Compliments the stock system tasks (i.e., without removing/replacing them)
  2. Uses the log files produced by these tasks to verify their execution

If the thing that's missing is, "may not run if sleeping rather than rebooted" then it would only take a little more creativity to fit that bill... (e.g., setting an hourly cron job that kicks off the startup item).


@hourly /Library/StartupItems/Periodic/Periodic "start"

And only a little bit more creativity is required to enable you to turn this feature off for specific times of high-volume processing... e.g., create an AppleScript that's available from your Script Menu that will toggle the renaming of the StartupItem script (placing a script with the name Periodic in the right place so that the cron job doesn't get upset. (Left as an excercise for someone who's got a bit of spare time.)

---
regards,
LD

[ Reply to This | # ]