I have a PHP script that writes to my MySQL database. The script runs fine when I run it from the web. However, when I try to run it as a cron job, it executes but gives me this error: SQLSTATE[28000] [1045] Access denied for user 'belltown_john'@'localhost' (using password: YES)
I've checked that I have int.boru.x10hosting.com listed as a remote database access host. Is there anything else I need to do to get this to work from a cron job?
I've checked that I have int.boru.x10hosting.com listed as a remote database access host. Is there anything else I need to do to get this to work from a cron job?