I have function massProductcreateAction() At


This function creates product from database and after creating 30 product to Magento, script will be time out.(500: Internal Error)

So is there a way to continuously run this function and I can create 10000 item at a single time. Using SSH or cron?

  • did you find any way to do this? I also have the same problem. – Sarvagya Oct 17 '17 at 8:37

You may try the below command in your ssh like

nohup php your_controller_url &

the above command will run in background until the process complete.

  • site url is privosa.com And path is app\code\local\Adit\Rapnet\controllers\Adminhtml\RapnetController.php And Function is massProductcreateAction(). can you please let me know that is "your_controller_url " – Pratik Kamani Oct 9 '17 at 9:19
  • you can't run it from admin. you can try the code file from root folder or else through using frontend controller. – Jjo Oct 9 '17 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.