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 =20 619-460-2281 x 237