// 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 $timestamp = date('Y-m-d H:i:s'); // Log the end of this send logWrite("\n---------------------"); logWrite("End of inserting: {$timestamp}"); logWrite("**********************************\n"); return 0; /** * Simply writes a log message line to the log file