[wp-hackers] guide to importing things in intervals?

Eric Marden wp at xentek.net
Mon Jul 27 21:33:47 UTC 2009


On Jul 26, 2009, at 5:59 PM, Stephanie Leary wrote:
> I'm working on the HTML file import plugin I talked about here a few  
> months ago. It's working nicely on small (<150) batches of files,  
> but I'd like to keep it from cutting short when it reaches the max  
> execution time. I'm looking through the core importers' code for  
> guidance.
>
> Does anyone happen to have any articles or documentation on how this  
> works?


These may help, but may not work in *every* environment reliably:
http://us2.php.net/manual/en/function.set-time-limit.php
http://www.php.net/manual/en/ini.core.php#ini.sect.resource-limits


- Eric Marden
__________________________________
http://xentek.net/code/wordpress/







More information about the wp-hackers mailing list