$loader->addResourceType('model', 'models', 'Model');
$weekdays = array('Sun' => 'sunday', 'Mon' => 'monday', 'Tue' => 'tuesday', 'Wed' => 'wednesday', 'Thu' => 'thursday', 'Fri' => 'friday', 'Sat' => 'saterday');
// Get our config file
$config = new Zend_Config_Ini($apppath . '/application/configs/application.ini');
Zend_Registry::set('config', $config->production);
// Because our models need it this way
// Get the messages model
//$message = new Application_Model_Message();
// Set up our current timestamp
$timestamp = date('Y-m-d H:i:s');
// Log the start of this read
logWrite("**********************************");
logWrite("Begin truncate: {$timestamp}");
logWrite("------------------------------------");
$rpt = new Application_Model_Report();
$rpt->saveUserDailyactivity();
// Log our counts
//logWrite("")
/*Memcache server: BDAYCLUB info stores in the memcache memory*/
$msgobj = new Application_Model_Message();
$msgobj->addMemcahceBdclub();
/*end of memcache server use*/
$dataObj = new Application_Model_DataReporting();
$rst = $dataObj->allphonenumbers();
if ($rst) {
    $log = "Rows inserted: {$rst}";
    logWrite($log);
} else {
    logWrite("No data inserted!!");
}
// Set up our current timestamp for closing out