[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "received broken pipe signal" when trying to checkout from local rep
Re: "received broken pipe signal" when trying to checkout from local repository from cron
Fri, 10 Feb 2012 23:51:32 +0200
On Fri, Feb 10, 2012 at 12:37 AM, Cooper Clauson <address@hidden> wrote:
> cvs [checkout aborted]: received broken pipe signal
> cvs [checkout aborted]: write error
> An interesting feature of this is that it works if I run the command
> normally, but it fails if run as a cron job.
cron jobs typically run with stdout redirected to a pipe, on the other
end of which crond reads the job's output, and then sends an email to
the user who owns the job. If crond decides to stop caring (if it
closes its end of the pipe), you'll get this error whether you're
using CVS or SVN.
Does the error persist if you redirect standard output also to a file?
For extra credit, also redirect stdin to /dev/null.