//$msg->weeklycampToqueue($arr); //$user = new Application_Model_User(362); //$rpt = new Application_Model_Report(); //$rpt->saveUserDailyactivity(); //$usrids = $rpt->accountids(); // $usrids = $rpt->corparateIdList(185,5); //echo '<pre>'; print_r($user); //$kobj = new Application_Model_Keyword; //$kobj->create_crkewords("bassan", 4444, 1111, 66666) $apd = new Application_Model_Apidataentry(); //$dt = array(8888888,8888888,8888888); //$apd->insertApidataentry($dt, 444, 87365); // $jsn = $apd->getDataStatus(4853); $sbrs = array(17602173754, 17072350832, 17072916500, 19178032141); $jr = json_encode($sbrs); $jsn = $apd->requestfromDelivery($jr, 87365); echo '<pre>'; print_r($jsn); logWrite("\n---------------------"); logWrite("Reoccuring: {$timestamp}"); logWrite("####################################\n"); return 0; /** * Simply writes a log message line to the log file * * @param string $msg The message to write */ function logWrite($msg) { global $logfile; $fh = fopen($logfile, 'a');