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: klktrk on Mar 20, '03 04:45:51PM
"A better solution would be to activate XJanitor on a "wake up" event (via AppleScript, perhaps?). So when you wake your computer from sleep, one of the things it does is to check the periodic events and run them if needed."

The problem is that the maintenance tasks need to be run as root. That's why the system cron should trigger them. To run them on wakeup or at another time triggered by the user would require authorizing the maintenance with an admin user password. That would quickly become annoying.



[ Reply to This | # ]
XJanitor.pl intelligently runs required maintenance tasks
Authored by: triplef on Mar 25, '03 02:37:55PM

A workaround for this problem would be a setuid'ed command line tool.



[ Reply to This | # ]