OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Cron Items

This topic contains 2 replies, has 2 voices, and was last updated by  Michael 6 years, 4 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • 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
    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)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top