How can I use a cron job file in CakePHP for sending GCM messages in particular interval?
Can you suggest any tutorials for this?
I would like to send GCM messages to an Android phone in fixed intervals.
How can I use a cron job file in CakePHP for sending GCM messages in particular interval?
Can you suggest any tutorials for this?
I would like to send GCM messages to an Android phone in fixed intervals.
Sounds like a job for a custom data source or maybe transport adapter for the CakeEmail class, I haven't looked much at the GCM spec (your job). Use a cake shell to send the messags in an interval.
You can find the all the info about custom datasources, mail transports and shells (including cron jobs) here:
The last link contains the info how to set up a cron job with cakephp shells.