Batch run Sun/solaris

Steve Butler sbutler at fchn.com
Thu Jul 1 17:40:44 CEST 2004


Try a couple

--batch
--no-tty

Here is how I have cron type jobs invoke encryption:

gpg --homedir $homedir --batch --no-tty --always-trust --recipient $1 \
    --output "$2.$ext" --encrypt "$2"

-----Original Message-----
From: gnupg-users-bounces at gnupg.org
[mailto:gnupg-users-bounces at gnupg.org]On Behalf Of Deiter Scott
Sent: Thursday, June 03, 2004 7:50 AM
To: gnupg-users at gnupg.org
Subject: Batch run Sun/solaris



We are very new to gnupg

we are running gpg to send data to one of our banks.
If the userid logs on and runs the script manually all is well.

However during the execution with in the job scheduler we receive this
error.

                gpg: cannot open `/dev/tty': No such device or address

So what parm or environment variable can we set to get past this error.
everything else is running rather well.
                  



More information about the Gnupg-users mailing list