On Tuesday, October 8, 2002, at 01:44 PM, Sunil Shetye wrote:
Quoting from Paul Mylchreest's mail on Tue, Oct 08, 2002 at 01:26:42PM
Because fetchmail seems to crash sometimes when running in daemon
I decided to run it periodically using cron. This is my entry in the
0-59/5 * * * * /usr/local/bin/fetchmail 2>&1
I think your syntax is wrong. ">/dev/null" should occur before "2>&1".
You could be right. It solves the problem. However, I thought:
fetchmail 2>&1 >/dev/null
(redirect stderr to stdout and pipe stdout to null)
fetchmail 2> /dev/null 1>/dev/null
Bracketing solves the problem also:
(fetchmail 2>&1) >/dev/null
I understand better pipelines now. Thanks for the help.
Anyway, I think you should first try running fetchmail 6.1.0 in daemon
mode now as a few bugs relating to this have been fixed recently.
That was the first thing I tried. It did not last 24 hours.
Thanks for the help,
"Specifications are for the weak and timid!!"
Klingon Software Quality Assurance, Tom Fevens