From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 14:37:25 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 57B4916A41C for ; Tue, 12 Jul 2005 14:37:25 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id E008243D45 for ; Tue, 12 Jul 2005 14:37:24 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.3/8.13.1) with ESMTP id j6CEb6oP012012; Tue, 12 Jul 2005 08:37:06 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.3/8.13.1/Submit) with ESMTP id j6CEb2T8012009; Tue, 12 Jul 2005 08:37:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 12 Jul 2005 08:37:02 -0600 (MDT) From: Warren Block To: Ann Lee In-Reply-To: <80b681a505071123165c0f1158@mail.gmail.com> Message-ID: <20050712083422.H11970@wonkity.com> References: <80b681a50507110125a87ed87@mail.gmail.com> <80b681a505071123165c0f1158@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (wonkity.com [127.0.0.1]); Tue, 12 Jul 2005 08:37:06 -0600 (MDT) Cc: "scuba@centroin.com.br" , freebsd-questions@freebsd.org Subject: Re: Expire undeleted mail older than specified age X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 14:37:25 -0000 On Tue, 12 Jul 2005, Ann Lee wrote: > Well, i have copied the perl script of expire_mail.pl in > /usr/local/sbin/expire_mail.pl. And put the following into my cron > job: > > 0 23 * * 3 /usr/local/sbin/expire_mail -l -M -a 60 /var/mail/* > Seems not work. So i run the command manually and found that > /usr/local/sbin/expire_mail: Command not found. > > Do i missed out any steps? >From above, the file is called expire_mail.pl, but you don't have the .pl extension in the cron command line, or in the command you typed. -Warren Block * Rapid City, South Dakota USA