Howdy all. Can someone give me a shell script skeleton I can use to do the following:
1. run command A
2. write to a log ONLY if command a errors
3. sleep for 3 seconds
4. loop back and do it again (and again, and again...)
I know, this is totally dumb I bet but I am not a unix genius.
1. run command A
2. write to a log ONLY if command a errors
3. sleep for 3 seconds
4. loop back and do it again (and again, and again...)
I know, this is totally dumb I bet but I am not a unix genius.