On Tuesday 23 May 2006 22:34, Sergey Mkrtchyan wrote:
Leendert Meyer wrote:
Here's a extremely minimalistic 'skeleton', stripped from comments: ... echo "$(date +%FT%T%z): FOO started" >> /tmp/FOO.log # false rc_status -v ... echo "$(date +%FT%T%z): FOO stopped" >> /tmp/FOO.log # false rc_status -v ... After a little problems it worked! really extremely helpfull, thank you!
Uncomment both 'false' statements to see something interesting during starting/stopping. ;)
maybe I should leave this for a better times?
Well, you learning curve just got a bit steeper... ;) You might as well add 'man bash' to your RTFM list. But there are some shell-scripting tutorials on the net. However I can't recommend any, because I don't know any. ;)
Here's a starting point: http://en.wikipedia.org/wiki/Bash (I like Wikipedia more and more...). There are some links at the bottom that might interest you.
Well, hope will be able to get to that curves' extremum (if there is one) :)
Indeed, if there is one... :P
Thank you for the link...helped much
Great! :) Cheers, Leen