I do not know whether it is possible using PHP or not,
I suggest there is a feature named Import External Data of SQLyog to streamline the transfer of data from any ODBC compliant data source to MySQL,
This import mechanism provides powerful and effective features, such as:
Incremental import: Using special SQL statements and Triggers you can perform conditional data import. For example, you can run the import procedure daily and order it only to import data that appeared during the last day.
Import sessions storage for future use: You can save your import session with all its settings and preferences and later use it repeatedly.
Import sessions scheduling: You can order your import session to be scheduled, and SQLyog will automatically create a standard MS Windows scheduled task where you can specify your schedule preferences depending on your needs.
Also you can schedule a job periodically using this tool, give a try I think this will solve your problem.