<?phperror_reporting(E_ALL & ~E_NOTICE);if (!is_object($vbulletin->db)){ exit;}// all your stuff here - like queries example:$vbulletin->db->query(" UPDATE " . TABLE_PREFIX . "whatever SET something = something");log_cron_action('Your Text Here', $nextitem);?>