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

Mike Hsu
Fri Aug 8 10:32:09 2003

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 (