Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCommerce Cron Items

This topic contains 2 replies, has 2 voices, and was last updated by Michael Michael 9 months, 2 weeks ago.

  • Creator
    Topic
  • #32440

    mishra338
    Participant

    Hi ,

    We have developed a new bundle which is importing the inventory and tracking details from the external system and exporting the Order and Product from Orocommerce System.

    Now we want to add these in Cron jobs or recurring jobs.
    Is there any way, we can add our URL for recurring execution

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #32441

    mishra338
    Participant

    Hi,
    Is there any way to call controller function from any other bundle, Like I am creating a cron command file using the Ref: https://oroinc.com/b2b-ecommerce/documentation/1.4/admin-guide/cron

    I am able to execute the cron from the command line. It is working fine; I want to call the controller function in the execute function.
    Please help

    Regards,
    Shuchi

    #32442
    Michael
    Michael
    Keymaster

    Controllers normally expect the presence of a web-request.
    If you need to re-use some code both in a controller and a console command – just move out that piece of code into a separate class/service/etc.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossossossosso