protected function schedule(Schedule $schedule) { $schedule->call(function () { DB::table(\'appointments\') ->where(\'status\',\'pending\')