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?
You can use cronjob to schedule notifications. You can access all code-igniter controller methods via the command line.