Skip to content

Commit

Permalink
Revert "Fix issue #133 Symfony 7 not run jobs (#134)"
Browse files Browse the repository at this point in the history
This reverts commit c0a6703.
  • Loading branch information
NoUseFreak committed Feb 17, 2024
1 parent e7a7a68 commit e632cd9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Job/ShellJobWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,8 @@

use Cron\CronBundle\Entity\CronJob;
use Cron\Job\ShellJob;
use Symfony\Component\Process\Process;

class ShellJobWrapper extends ShellJob
{
public ?CronJob $raw = null;

public function setCommand($command)
{
$commandArray = explode(' ', $command);
$this->process = new Process($commandArray);
}
}

0 comments on commit e632cd9

Please sign in to comment.