Search code examples
phpandroidiphonenotificationsbackground-process

Run PHP script on the server to send notifications to android/iphone on regular intervals


I am using code-igniter framework for my PHP-angular project.I am looking run a php script, which will run on regular intervals and sends push notifications to all the users on phone, based on the database query.

Could someone help me on how can I approach to solve this problem?


Solution

  • You can use cronjob to schedule notifications. You can access all code-igniter controller methods via the command line.