Skip to content

Commit

Permalink
Merge pull request #105 from ravi289/main
Browse files Browse the repository at this point in the history
New method runsInBackground() added in  Spatie\ScheduleMonitor\Support\ScheduledTasks\Tasks\Task:class
  • Loading branch information
freekmurze authored Feb 28, 2024
2 parents 23dd2ea + 349ec3c commit cec3acc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Support/ScheduledTasks/Tasks/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,9 @@ public function humanReadableCron(): string
return $this->cronExpression();
}
}

public function runsInBackground():bool
{
return $this->event->runInBackground;
}
}

0 comments on commit cec3acc

Please sign in to comment.