MarkB
06-12-2004, 05:12 AM
Hi guys,
Am running, and am also planning, several sites that use a static data feed provided for affiliates.
I'm currently doing the following manually:
- download latest feed (in txt tab-delimited format) using wget
- empty database via phpmyadmin (truncate)
- insert new feed (using a simple php script to parse the txt file into SQL) into the database
Can anyone suggest to me, or show me, how this could be done via cron?
Thanks!
Mark
Am running, and am also planning, several sites that use a static data feed provided for affiliates.
I'm currently doing the following manually:
- download latest feed (in txt tab-delimited format) using wget
- empty database via phpmyadmin (truncate)
- insert new feed (using a simple php script to parse the txt file into SQL) into the database
Can anyone suggest to me, or show me, how this could be done via cron?
Thanks!
Mark