Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #50 from TimGeDev/main
Browse files Browse the repository at this point in the history
Using the PHP Version the scheduler is called with for artisan commands
  • Loading branch information
freekmurze authored Dec 9, 2021
2 parents b12d0aa + ac8b341 commit afb2f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PendingShortScheduleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function everySeconds(float $frequencyInSeconds = 1): self

public function command(string $artisanCommand):self
{
$this->command = "php artisan {$artisanCommand}";
$this->command = PHP_BINARY . " artisan {$artisanCommand}";

return $this;
}
Expand Down

0 comments on commit afb2f59

Please sign in to comment.