Would like to automate something at work, but dont know where to begin
This is not for school. At my job I was trying to automate something that we as operators do everyday. I am not a scripter, but certainly want to learn shell scripting. A task we do daily below:
We have to check the system.log when there is a message and send it off to the Admin.
1. loginto the operacct
2. cd /Admin/monitor
3. more system.log. If there is something in the file send email to Admin with contents, and then run script
4. If nothing is is the log then of course quit out.
Its just something i've been thinking about automating but, don't know where to begin.