Many of my feeds are several hundred megs a piece. The normal way of doing it produces an error 500. If I run them through slow import, it usually works without a problem. My question is which cron job should I use if I would like this to be done automatically each day? Option 1 or Option 2?
Thank you!
Hi,
There is a CRON version the slow import tool in the scripts/ folder (import_slow.php) and you need to schedule this in the same way as the Option 2 command (using wget) but an additional parameter is required in order to make sure that wget lets the script redirect as many times as required.
However, import_slow.php does not fetch any feeds configured in the Automation Tool, so if you have set-up jobs to be fetched / unzipped automatically you would need to schedule 2 jobs, maybe an hour or so apart - at least long enough for fetch.php to fetch all your feeds.
So, the 2 jobs would be:
cd /path/to/scripts;/usr/bin/php fetch.php
(copy this from Option 1, and just change cron.php to fetch.php)
and
/usr/bin/wget --max-redirect http://www.example.com/scripts/import_slow.php
...or if you have a /admin/ password configured:
/usr/bin/wget --max-redirect=9999 http://www.example.com/scripts/import_slow.php?password=yourpassword
Cheers,
David.
--
PriceTapestry.com