ApnsPHP in server mode (ApnsPHP_Push_Server)
- by Kukosk
Hi,
Im using ApnsPHP for push notifications on my server, but it's a little bit slow when you have to send a lot of notifications, so i decided to Run it in the server mode. I just want it to run in cron every 1 hour, check if there are some notifications to be sent, and if yes, run it in 5 processes to be faster. I'm sending updates to my users once a day depending on the timezone they set. So i have to run it every hour, and send messages to timezones that actually have 12:00 PM.
Is there any way to do this?
I know there is a demonstration but i just have no clue about how to do it.
A simple sample will really help.
Thank you millions!!