Running a long script in PHP

You can add some settings to your script to reduce count of imported products in one run. The simplest way – add fields like “Import from” and “Imported count”. You can run your script several times playing with “Import from” parameter and import 200 products (for example) per one time.