dump fleets

This commit is contained in:
2018-12-06 18:34:45 -06:00
parent c4f2ac07ce
commit 78b299293b
3 changed files with 3 additions and 3 deletions

View File

@@ -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();

View File

@@ -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;

View File

@@ -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;