skip to Main Content

how to run cron in cpanel using codeigniter

how to run cron in cpanel using codeigniter <?php class Cron extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('email_model'); } public function index() { $c_date = date('Y-m-d'); $remider_data = $this->email_model->get_customer_remider_data(array('status'=>'1', 'reminder_date_before' => $c_date)); foreach($remider_data as $remider_data_mail) { $mailTo =…

VIEW QUESTION

CI controller url permalink – SEO

i've got a project in codeigniter and i want to modify its url link. The current link is: http://fortin.agency/audit-seo/frtcrwl/647/bikearena.ro?/health_check/report/647/bikearena.ro And i want to remove "health_check/raport/" while the page is still working. So the new url must look like: http://fortin.agency/audit-seo/frtcrwl/647/bikearena.ro I…

VIEW QUESTION
Back To Top
Search