Re: yum.cron for testing & examination

Ed L Cashin <[email protected]>
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>
"David L. Parsley" <[email protected]> writes:

...
> Yeah, I found out about the 'read' timeout a few hours later, but
> decided not to rewrite.  The current version looks pretty readable to
> me, and since I use 'sleep', the timeout value is anything sleep
> understands (like 12h).  Do you find the script readable, or should I
> sprinkle some comments?

If it was any longer or more complicated comments might be nice, but
I find it pretty readable as it is.

I wonder whether killing with SIGKILL is a bit harsh.  I don't know
enough about yum to know whether it might have some cleanup it needs
to do.  Maybe a SIGTERM; sleep 2; SIGKILL?

-- 
  Ed L Cashin <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.