ApnsPHP in server mode (ApnsPHP_Push_Server)
Posted
by
Kukosk
on Stack Overflow
See other posts from Stack Overflow
or by Kukosk
Published on 2010-12-24T13:47:47Z
Indexed on
2010/12/24
13:54 UTC
Read the original article
Hit count: 353
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!!
© Stack Overflow or respective owner