- Make all tests pass Client (V4),CRMV2,CRMV4 - Simplify client submodule path - Move App_url to .env.testing
37 lines
713 B
PHP
37 lines
713 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use App\Jobs\StartStatJobs as JobsStartStatJobs;
|
|
use Illuminate\Console\Command;
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
class StartStatJobs extends Command
|
|
{
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'stats:collect';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = 'Force push the collect stats jobs into the queue (stats)';
|
|
|
|
/**
|
|
* Execute the console command.
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function handle(): int
|
|
{
|
|
\dispatch(new JobsStartStatJobs())->afterResponse();
|
|
return 0;
|
|
}
|
|
}
|