public function getShortCommand(): string
    {
        $command = $this->getFullCommand();
        $command = substr($command, 0, strpos($command, '>'));
        $command = trim(str_replace(
            config('schedule-list.remove_strings_from_command', [
                "'".PHP_BINARY."'",
                "'artisan'",
            ]), '', $command)
        );

        return $command;
    }
public function getShortCommand(): string
    {
        $command = $this->getFullCommand();
        $command = substr($command, 0, strpos($command, '>'));
        $command = trim(str_replace(
            config('schedule-list.remove_strings_from_command', [
                "'".PHP_BINARY."'",
                "'artisan'",
            ]), '', $command)
        );

        return $command;
    }
public function getShortCommand ( ) : string { $ command = $ this -> getFullCommand ( ) ; $ command = substr ( $ command , 0 , strpos ( $ command , '>' ) ) ; $ command = trim ( str_replace ( config ( 'schedule-list.remove_strings_from_command' , [ "'" . PHP_BINARY . "'" , "'artisan'" , ] ) , '' , $ command ) ) ; return $ command ; }
Get the command with options and arguments from the full cron command
Remove php binary, "artisan" and output

@return string
Get the command with options and arguments from the full cron command Remove php binary artisan and output