Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2005 14:22:29 -0400
From:      "N.J. Thomas" <njt@ayvali.org>
To:        Robert Wall <cp@web-walrus.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Crontab and GPG?
Message-ID:  <20051025182229.GD26831@ayvali.org>
In-Reply-To: <20051025131352.217826@bob>
References:  <20051025131352.217826@bob>

next in thread | previous in thread | raw e-mail | index | archive | help
* Robert Wall <cp@web-walrus.com> [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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051025182229.GD26831>