Jump to content

Getting around maximum execution time error


Garrett

Recommended Posts

I have a simple script that imports all images in a folder to my site and generates thumbnails. It works, but on folders with a rather large amount of images (500+) it can reach the max execution time and give a fatal error.

 

I could always break up my import folders into smaller chunks or increase the max execution time, but I am wondering if there is a different approach I could take.

 

Is there a way to reset the execution time of a script by inserting some kind of a pause/delay?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.