If the task you're doing with the account-information is asynchronous make it inaccessible from the web frontend (or writeonly, public key encryption) and run your cronjob on a different box with a different database user so that the data is safe if your public facing application gets hacked. Also do not store the passwords in plaintext and store the private key in the safest place possible.