gpg script in cron failed with "stdin must be a tty"

Steve Butler sbutler@fchn.com
Thu Aug 7 20:49:02 2003


Cron Usage:  use the --batch and --no-tty options to gpg.

gpg --batch --no-tty --output junk.txt --decrypt junk2.gpg


-----Original Message-----
From: Mike Hsu [mailto:mhsu@nglm.com]
Sent: Thursday, August 07, 2003 10:18 AM
To: gnupg-users@gnupg.org
Subject: gpg script in cron failed with "stdin must be a tty"


	A simple gpg script with no passphrase needed:
	gpg --output junk.txt --decrypt junk2.gpg

	runs OK in bash but fails in cron job.

	I get the following message in mail:
	stdin must be a tty

	How can I fix this?



Mike Hsu (mhsu@nglm.com)
Database Technologist
Northrop Grumman IT
Defense Enterprise Solutions
La Mesa, CA   
619-460-2281 x 237





_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.