From 349ec3c2a1e522821c4ab278923457faa2fc3373 Mon Sep 17 00:00:00 2001 From: ravi289 <43166420+ravi289@users.noreply.github.com> Date: Wed, 28 Feb 2024 10:11:33 +0530 Subject: [PATCH] New method runsInBackground() added in Spatie\ScheduleMonitor\Support\ScheduledTasks\Tasks\Task::class New method runsInBackground() added in Spatie\ScheduleMonitor\Support\ScheduledTasks\Tasks\Task::class --- src/Support/ScheduledTasks/Tasks/Task.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Support/ScheduledTasks/Tasks/Task.php b/src/Support/ScheduledTasks/Tasks/Task.php index 818c089..e506e8b 100644 --- a/src/Support/ScheduledTasks/Tasks/Task.php +++ b/src/Support/ScheduledTasks/Tasks/Task.php @@ -185,4 +185,9 @@ public function humanReadableCron(): string return $this->cronExpression(); } } + + public function runsInBackground():bool + { + return $this->event->runInBackground; + } }