From owner-freebsd-questions@FreeBSD.ORG Thu May 15 22:38:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C83E737B401 for ; Thu, 15 May 2003 22:38:00 -0700 (PDT) Received: from lancer.sasktel.net (lancer.sasktel.net [142.165.19.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01A8D43FA3 for ; Thu, 15 May 2003 22:38:00 -0700 (PDT) (envelope-from topcat@sk.sympatico.ca) Received: from sk.sympatico.ca (regnsk01d050201110.sk.sympatico.ca [142.165.25.110]) by lancer.sasktel.net (iPlanet Messaging Server 5.1 HotFix 1.10 (built Dec 18 2002)) with ESMTP id <0HEY00G5USS11L@lancer.sasktel.net> for freebsd-questions@freebsd.org; Thu, 15 May 2003 23:33:38 -0600 (CST) Content-return: allowed Date: Thu, 15 May 2003 23:33:37 -0600 From: TOPCAT CONSULTING Sender: root@regnsk01d050201110.sk.sympatico.ca To: freebsd-questions@freebsd.org Message-id: <3EC47831.738F7836@sk.sympatico.ca> MIME-version: 1.0 X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.1-RELEASE i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Subject: "Ambiguous pipeline" question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 05:38:01 -0000 From: /etc/crontab: /usr/sbin/periodic daily 2>&1 | sendmail root The above works with no problem. But, the following does not: /usr/sbin/periodic daily 2>&1 | lpr -it just gives me an "Ambiguous output redirect" How can I get this to sendmail, *and* also to the printer?