The untested snippet below should update the birth date for userids 1, 2, and 3. Edit the code as desired and then use the ACP to set up a new cron job that runs once a day:
Code:
<?php
// ########################## SET PHP ENVIRONMENT ###############################
error_reporting(E_ALL & ~E_NOTICE);
// ###################### PREVENT UNAUTHORIZED ACCESS ###########################
if (!is_object($vbulletin->db))
{
exit();
}
// ############################ SET NEEDED DATES ################################
$birthday = date('m-d-Y', TIMENOW);
$birthday_search = date('Y-m-d', TIMENOW);
// ################# UPDATE BIRTHDAY FOR USERID 1, 2 AND 3 ######################
$birthdays = $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user
SET birthday = '" . $vbulletin->db->escape_string($birthday) . "',
birthday_search = '" . $vbulletin->db->escape_string($birthday_search) . "'
WHERE userid IN (1,2,3)
");
// ############################ LOG CRON ACTION #################################
log_cron_action('', $nextitem, 1);
?>