seany Posted October 25, 2009 Share Posted October 25, 2009 Hey everyone, it's my first time posting here but I've been a lurker for a while. Anyway, I couldn't find the answer to my problem after searching so I decided to register and ask myself. What I'm trying to do is copy a table from one database to another database on the same server (same user/pass as well), with one condition. table.row needs to be < 5 in order for it to be copied to the other database. This operation (without the condition) can be done through the Operations tab in phpMyAdmin, but what I want to do is execute this operation every 2 minutes (for example) automatically. How can I do this? Thanks for the help! Link to comment https://forums.phpfreaks.com/topic/178891-copy-tables-between-databases-automatically-and-regularly/ Share on other sites More sharing options...
mwasif Posted October 25, 2009 Share Posted October 25, 2009 Setup a cronjob to do this task for you. Link to comment https://forums.phpfreaks.com/topic/178891-copy-tables-between-databases-automatically-and-regularly/#findComment-943933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.