diff --git a/app/Console/Commands/Library/helper.php b/app/Console/Commands/Library/helper.php index 9a5d87cf7..fe3054f2b 100644 --- a/app/Console/Commands/Library/helper.php +++ b/app/Console/Commands/Library/helper.php @@ -15,7 +15,7 @@ class CommandHelper { public function __construct($name) { $this->job_name = $name; - $this->job_status = 'Starting'; + $this->job_state = 'Starting'; $this->system_time = Carbon::now(); } @@ -23,7 +23,7 @@ class CommandHelper { //Add an entry into the jobs table $job = new ScheduleJob; $job->job_name = $this->job_name; - $job->state = $this->job_state; + $job->job_state = $this->job_state; $job->system_time = $this->system_time; $job->save(); }