Re: PHP / MySQL automatic import
If you have cron then you don't need PHP considering that you can run mysqlimport.
See
http://dev.mysql.com/doc/refman/5.0/en/mysqlimport.html .
Just put mysqlimport as command to be run every 15 minutes. If this solution is not feasible that write a PHP script that is called. If you don't have a cron on the server you can do the following.
1. Write a PHP script that is visible over HTTP
2. Run cron job on some machine you have access and that has cron, could be even Windows one with Scheduler (never tester) that has the wget utility:
wget
http://serverip.host.or.ip.here/script.php
This command should be executed every 15 minutes.
HTH
Andrey Hristov, Software Developer
MySQL AB, www.mysql.com
Subject
Written By
Posted
Re: PHP / MySQL automatic import
January 27, 2006 06:26PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.