SetStartStatus(); //Create class helpers $lookup = new LookupHelper(); $moonTotal = new MoonCalc(); //Get all of the moon rental contacts $contacts = DB::table('Moons')->pluck('Contact'); //Cycle through each contact, and get all of the moons for the contact, then //totalize the cost $total = 0.00; $entityType = ''; foreach($contacts as $contact) { } //Send a mail to the contact listing the moons, and how much is owed //Mark the job as finished $task->SetStopStatus(); } }