Anyway as of recently I am looking at finally setting up my crontab so that I can manage all of the mundane tasks I tend to do by hand once a week
ie: updating software, updating my slocate database, prelinking executable files, rotating logs, and managing system status reports, etc....
Thing is in order to do this I want to be able to script the commands that are being executed to run and respond in very specific circumstances... for instance if I am running on battery power I do not want slocate to execute. And if something fails I want an email sent to my inbox giving me the information I need to know about the failure...
Of course the best way to do this is to use Perl/PHP/or BASH... and since I know all but BASH I figured now would be just as good a time as any to learn how to use it so that I can nicely configure my crontab.
So at long last I am wondering if anyone recommends any good short tutorials? before I go on figureing it all out the hard way
