killing tail --pid=???
Howdy!
I am working on a project where I know nothing about what I'm doing as usual. :) So here goes.. I have a script the runs from another like this Code:
$SCRIPTDIR/oblog Overwrite & Code:
if [ "$1" = "Overwrite" ]; then Code:
kill -1 `cat $PIDDIR/oblog.pid` tail, sed, and grep are still running I want to kill off tail so sed and grep will finish Maybe some use of --pid with tail, I would need to pipe something to it to do that, not sure some other signal maybe? any ideas? thanks, |
The only think I can think of off hand is to write a kill script that will kill the tail. Pass in the oblog PID
Code:
#!/bin/sh |
All times are GMT -5. The time now is 04:57 AM. |