Add possibility to run disabled cron
This commit is contained in:
parent
2fc288e53a
commit
552b9d3c33
4 changed files with 12 additions and 10 deletions
|
@ -53,7 +53,7 @@ class ProcessScheduleService
|
|||
$task->update(['is_queued' => true]);
|
||||
});
|
||||
|
||||
$job = new RunTaskJob($task);
|
||||
$job = new RunTaskJob($task, $now);
|
||||
|
||||
if (!$now) {
|
||||
$this->dispatcher->dispatch($job->delay($task->time_offset));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue