Sending reports

Hello everyone,

I am working on sending piwik reports to a list of recipients. The recipients are stored in a table in my database. The table also contains a ‘is_email_enabled’ property. I am suppose to send the report only if ‘is_email_enabled’ is set to true. Is it possible to create a php cron job or something where I can query the recipients from the table and call a piwik API so send a report to corresponding recipients.

Thanks a lot.

Use the API: http://piwik.org/docs/analytics-api/reference/#MobileMessaging