Newscoop\SchedulerServiceInterface::addSchedulerJob PHP Method

addSchedulerJob() public method

Add cron job to Jobby library directly, where job will be started based on given configuration parameters
public addSchedulerJob ( string $jobName, array $config ) : void
$jobName string Job name
$config array Array with job configuration
return void
    public function addSchedulerJob($jobName, array $config);