Scheduler issue
David Shaw
dshaw at jabberwocky.com
Mon Feb 10 02:48:01 CET 2003
On Sun, Feb 09, 2003 at 12:25:31PM -0800, jmathew at apple.com wrote:
>
> Hi All,
>
> I have two shell scripts one which encrypts and the other which
> decrypts using GPG. The other party with whom I am sending and
> receiving these files uses PGP and has given me a PGP key to
> encrypt.
>
> Both the scripts work perfectly when I call them from command
> prompt. But when I call them using a scheduler which logs in as
> root and calls the shell scripts they fail. The failure is at the GPG
> call both for decryption and encryption. I checked up the
> environment variable and they are fine.
We'd need to see what the error message you got was...
99% of the time, the "it works from the command line, but not when
called from cron" problem is due to something simple like different
paths.
David
--
David Shaw | dshaw at jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson
More information about the Gnupg-devel
mailing list