Need to send notification in a batch of 1000

后端 未结 3 955
再見小時候
再見小時候 2021-01-23 23:37

I have created notification application , now i want to send notification to batch of 1000 users, but as i am new i dont know how to create that batch.

this is my code t

3条回答
  •  灰色年华
    2021-01-24 00:14

    To execute a PHP script via command line or from batch file :

    SET PATH=%PATH%;/FULLPATH/TOPHP/EXECUTABLE
    php /FULLPATH/PHPSCRIPT.php 1>execution.log 2>executionError.log
    

    To lunch multiple threads in PHP, follow this example :PHP Multithread
    To install pthread, follow this PTHREAD installation tutorial

提交回复
热议问题