Import data csv ke table
LOAD DATA LOCAL INFILE 'c:/data.csv' INTO TABLE data FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"';
LOAD DATA LOCAL INFILE 'c:/data.csv' INTO TABLE data FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"';
*/5 * * * * /path/to/script.sh >/dev/null 2>&1
$this->load->database('db1');
atau
$this->load->database('db2');