skip to Main Content

class CI_controller not found when running cronjob – CPanel

All day spent trying to figure it out. cronjob cpanel command: php -q /home/domain/public_html/application/controllers/Cronjob.php cronjob.php <?php class Cronjob extends CI_Controller { public function __construct(){ parent::__construct(); } public function transactions(){ $addresses = $this->db->get_where('bitcoin_addresses')->result(); foreach ($addresses as $key => $value) { $id…

VIEW QUESTION
Back To Top
Search