I am attempting to get data from MySQL and render it using Google charts via Javascript, get a base64 encoded image that i AJAX post to anotehr PHP script to save. This works fine.
My problem is I need this to run as a cron job to generate the chart once per week. When the cron runs the JS does not execute because it is not in the browser. I need a suggestion on how to handle this issue.