*/
                        $evemailUpdate = $char->updateEveMail();
                        if ($marketUpdate === TRUE and $skillPlans === TRUE and is_object($char) and $evemailUpdate === TRUE) {
                            echo date('Ymd H:i:s', time()) . " - cron_update.php - SUCCESS - Updates completed for " . $char->getCharacterID() . ".\n";
                        } elseif ($skillPlans === TRUE and is_object($char)) {
                            echo date('Ymd H:i:s', time()) . " - cron_update.php - WARNING - Updates completed for " . $char->getCharacterID() . ". Market information and Evemail were not updated.\n";
                        } else {
                            echo date('Ymd H:i:s', time()) . " - cron_update.php - FAILURE - Updates failed for " . $char->getCharacterID() . ".\n";
                        }
                    } else {
                        echo date("Ymd H:i:s", time()) . " - cron_update.php - WARNING - API Key Invalid for " . $apiLookup['api_keyID'] . ".\n";
                    }
                }
            } else {
                if ($key->getErrorCode() != NULL) {
                    $key->disableCronJobs();
                    echo date("Ymd H:i:s", time()) . " - cron_update.php - WARNING - API Key " . $key->getKeyID() . " does not have the proper permissions.\n";
                }
            }
        } else {
            if ($key->getErrorCode() != NULL) {
                $disableKey = $key->disableAPIKey();
                echo date("Ymd H:i:s", time()) . " - cron_update.php - WARNING - API Key " . $key->getKeyID() . " is not valid or has expired.\n";
            }
        }
    } else {
        echo date("Ymd H:i:s", time()) . " - cron_update.php - SUCCESS - Nothing outside of cache.\n";
    }
} else {
    echo date("Ymd H:i:s", time()) . " - cron_update.php - FAILURE - CCP API Server is not responding.\n";
}