On 19/02/07, Howard Lowndes <[EMAIL PROTECTED]> wrote:

Does anyone  have a clue how to silence the outputs from the subject
commands?

I have tried the usual redirections of STDOUT and ERROUT to /dev/null
but to no avail.


That's very strange - strace'ing ldapsearch on RHEL4 shows that it writes
only to stdout (and the socket to the server). Are you sure that you used
the right redirection syntax for that shell?

Can you run it under strace?

I need to silence them as they will be in a cron job and I really don't
want an email each time that it runs.


As far as I'm aware - cron  will only be aware of stdout and stderr, so
output to other FD's will be lost under cron.

Cheers,

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to