private function getJobFiles($path)
    {
        $files = [];

        foreach (glob($path) as $filename) {
            if (is_dir($filename)) {
                continue;
            }

            $files[] = $filename;
        }

        return $files;
    }
private function getJobFiles($path)
    {
        $files = [];

        foreach (glob($path) as $filename) {
            if (is_dir($filename)) {
                continue;
            }

            $files[] = $filename;
        }

        return $files;
    }
@param $path

@return array