Jump to content

Import CSV file (with all the raws) before time out in one time ?


Jules Vau
 Share

Recommended Posts

Hello !

I use Batch child editor (1.8.10) to import a CSV file (6500 raws) to create new pages. It's works ! But the module only import 5500 raws. My screen display "504 Gateway Time-out".
There is a way to import all the raws in one time AND before the time out?

Thanks in advance

Web host config:
PHP version 7.1
MySQL : v.5.5

ProcessWire:
3.0.96.

 

 

 

Link to comment
Share on other sites

2 hours ago, Jules Vau said:

There is a way to import all the raws in one time AND before the time out?

 

If you are on a unix based system then you should give a try to Tasker/DataSet as @dragan said or look at the pcntl extension used in conjunction with the lib PHP League CSV. On windows (because the pcntl extension is not supported) I am used to write a custom import script with the same lib (PHP League)  and calling `set_time_limit()` in the loop after importing X records. I import and create something like ~15k pages each night, it work pretty good.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...