I can manually run the php script but cannot run it as a cron. I am logged in as the owner of the script... Can you point in the right direction. Thanks This is the error: gpg: fatal: can't create directory `//.gnupg': Permission denied secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768 .....