gpg encrypted backup fails in crontab

Updated . Posted . Visible to the public.

If you using gpg for your encrypted backup and it fails after you put it in crontab make sure you have the "--no-tty" option enabled for gpg.

Otherwise you get this error: "cannot open /dev/tty: No such device or address" and the backup size is 0 byte.

Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Kim Klotz to makandra dev (2011-09-14 08:58)