diff --git a/laravel_app/app/Jobs/ProjectReportGeneratorJob.php b/laravel_app/app/Jobs/ProjectReportGeneratorJob.php index 1297e3e..b87a1a0 100644 --- a/laravel_app/app/Jobs/ProjectReportGeneratorJob.php +++ b/laravel_app/app/Jobs/ProjectReportGeneratorJob.php @@ -42,7 +42,7 @@ public function handle() sprintf('%sbuild_report.sh', $projectFolder), sprintf('--filename=%s', $this->projectReport->getFullPathName()), sprintf('--report_date=%s', $this->projectReport->getReportDate()), - sprintf('--mail_day=%s', $this->project->download_path->mail_day), + sprintf('--mail_day=%s',$this->projectReport->project->mail_day), sprintf('--data_dir=%s', $this->projectReport->project->download_path), ]; logger('command:'. print_r($command, true));