1

I have function massProductcreateAction() At

app\code\local\Adit\Rapnet\controllers\Adminhtml\RapnetController.php

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?

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

1 Answer 1

-1

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.

2
  • 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 " Commented Oct 9, 2017 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
    Commented Oct 9, 2017 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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