|
|
<?php
|
|
|
|
|
|
//error_reporting();
|
|
|
include_once __DIR__."/../vendor/autoload.php";
|
|
|
|
|
|
swoole_set_process_name('php-email-sync-list-my');
|
|
|
|
...
|
...
|
@@ -9,6 +7,8 @@ $pm = new \Swoole\Process\Manager(); |
|
|
|
|
|
|
|
|
$pm->addBatch(30,function ($work_id){
|
|
|
//error_reporting();
|
|
|
include_once __DIR__."/../vendor/autoload.php";
|
|
|
|
|
|
$number = 0;
|
|
|
|
...
|
...
|
|