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


Click here to return to the 'maybe better to run this from cron' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
maybe better to run this from cron
Authored by: hayne on May 04, '02 04:49:37AM

This script seems to do the right thing, but installing it as as a LoginHook wouldn't be very useful for me since I typically stay logged in for weeks at a time on my iBook. I almost never shutdown - I just sleep.

So it occurs to me that this script would be more usefully run as a cron job - say every 15 minutes. That way, the maintenance scripts would run provided only I had the machine awake for at least 15 minutes.
And it avoids any worries about typos accidentally disabling my login.



[ Reply to This | # ]