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


Click here to return to the 'XJanitor.pl intelligently runs required maintenance tasks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
XJanitor.pl intelligently runs required maintenance tasks
Authored by: UMD on Aug 21, '03 09:40:12AM

Well for me as a laptop user there a certain things why i think this hint is a bit problematic:

1. when my powerbook is running on battery i don't want to have run the maintance tasks cause they could use a lot of power. You could change that by preceding the periodic commands with @AppleNotOnBattery in the crontab file

2. i don't want have the maintance tasks to run when i'am actually working on my powerbook, so it would be a great helper if the scripts would check out if the screensaver is running and for how long or if the scripts would check out the cpu usage.

well macaroni does that all but it is no freeware.



[ Reply to This | # ]
XJanitor.pl intelligently runs required maintenance tasks
Authored by: elmimmo on Aug 21, '03 05:52:10PM

Could you give an example? Where did you take that @AppleNotOnBattery prefix from? Are there any others?



[ Reply to This | # ]
XJanitor.pl intelligently runs required maintenance tasks
Authored by: UMD on Aug 22, '03 03:48:23PM

i got that hint from the book "mac os x in a nutshell" page 299 (good book by the way). but unfortunatly the author does not explain where this prefix comes from or if there are any other prefixes like this one

the example is
10 * * * * @AppleNotOnBattery command

Hope this helps.



[ Reply to This | # ]