I am using codeigniter. I want to know how to set up a cron job to check a table for expiring users and insert data in to another table with the list of expiring users. How
If you are looking on how to create cron job, then have a look at this:
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
But if you mean how to put expired users into another table, then you should show your table structure.