From owner-freebsd-questions@FreeBSD.ORG Tue Oct 25 18:22:32 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 8AB5116A41F for ; Tue, 25 Oct 2005 18:22:32 +0000 (GMT) (envelope-from njt@ayvali.org) Received: from sanddollar.geekisp.com (sanddollar.geekisp.com [204.89.131.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3A6843D45 for ; Tue, 25 Oct 2005 18:22:31 +0000 (GMT) (envelope-from njt@ayvali.org) Received: (qmail 32419 invoked by uid 1003); 25 Oct 2005 18:22:30 -0000 Received: from clam.int.geekisp.com (HELO clam.geekisp.com) (192.168.4.38) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Oct 2005 18:22:30 -0000 Received: from clam.geekisp.com (njt@localhost.geekisp.com [127.0.0.1]) by clam.geekisp.com (8.13.3/8.12.11) with ESMTP id j9PIMUZw006366; Tue, 25 Oct 2005 14:22:30 -0400 (EDT) Received: (from njt@localhost) by clam.geekisp.com (8.13.3/8.13.3/Submit) id j9PIMT81022288; Tue, 25 Oct 2005 14:22:29 -0400 (EDT) X-Authentication-Warning: clam.geekisp.com: njt set sender to njt@ayvali.org using -f Date: Tue, 25 Oct 2005 14:22:29 -0400 From: "N.J. Thomas" To: Robert Wall Message-ID: <20051025182229.GD26831@ayvali.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20051025131352.217826@bob> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051025131352.217826@bob> User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: Crontab and GPG? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2005 18:22:32 -0000 * Robert Wall [2005-10-25 13:13:52 -0500]: > I'm attempting to run GPG from cron, and it's not working. I can run > the script from the command line, and all works perfectly. When I try > to run it from cron, however, it doesn't work. Run /usr/bin/env (or wherever env is located on your system) from cron and see what environment your script has. Then run your script manually and keep removing envariables until something breaks. Thomas -- N.J. Thomas njt@ayvali.org Etiamsi occiderit me, in ipso sperabo