Thread: Tutorials?
View Single Post
Old Aug 17th, 2004, 6:13 PM   #1
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
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
__________________
Clifford Matthew Roche <geek@cliffordroche.com>
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote