SetStartStatus(); //Dump all fleets from the table to start a new day DB::table('Fleets')->delete(); //Mark the job as finished $task->SetStopStatus(); } }