diff --git a/app/Console/Commands/dumpFleets.php b/app/Console/Commands/dumpFleets.php index d6d145073..efd332196 100644 --- a/app/Console/Commands/dumpFleets.php +++ b/app/Console/Commands/dumpFleets.php @@ -5,7 +5,7 @@ namespace App\Console\Commands; use Illuminate\Console\Command; use DB; -use Carbon\Carbon; +use Commands\Library\CommandHelper; use App\Models\ScheduledTask\ScheduleJob; @@ -44,6 +44,8 @@ class DumpFleets extends Command { //Create the command helper container $task = new CommandHelper('DumpFleets'); + //Add the entry into the jobs table saying the job is starting + $task->SetStartStatus(); //Dump all fleets from the table to start a new day DB::table('Fleets')->delete(); diff --git a/app/Console/Commands/getCorps.php b/app/Console/Commands/getCorps.php index 6549b300d..8ed221ac0 100644 --- a/app/Console/Commands/getCorps.php +++ b/app/Console/Commands/getCorps.php @@ -4,7 +4,6 @@ namespace App\Console\Commands; use Illuminate\Console\Command; use DB; -use Carbon\Carbon; use Commands\Library\CommandHelper; use App\Models\Corporation\AllianceCorp; diff --git a/app/Console/Commands/getLogisticContracts.php b/app/Console/Commands/getLogisticContracts.php index c1c7937a1..750024a64 100644 --- a/app/Console/Commands/getLogisticContracts.php +++ b/app/Console/Commands/getLogisticContracts.php @@ -4,7 +4,6 @@ namespace App\Console\Commands; use Illuminate\Console\Command; use DB; -use Carbon\Carbon; use Commands\Library\Helper; use App\Models\Logistics\Contract;