public function run($request)
    {
        $sessions = $this->getExpiredSessions();
        $delCount = 0;
        if ($sessions) {
            foreach ($sessions as $session) {
                $session->delete();
                $delCount++;
            }
        }
        echo $delCount . ' session records deleted that were older than '
            . $this->config()->get('session_expiry_days') . ' days.'. PHP_EOL;
    }