ssossossossosso

Forums

Forums OroCRM OroCRM – How do I? Questions Cron job for Magento Sync

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

  • Creator
    Topic
  • #25300

    richclever
    Participant

    Hi,

    Is there any way to get OroCRM to synch data with Magento via CRON?

    Rich

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #25301

    Dima Soroka
    Keymaster

    yes, data sync works on cron, please add following command to your cronjob:

    #25302

    richclever
    Participant

    Thanks Dima

    I ended up using php {path_to_your_app}/app/console oro:cron:integration:sync --integration-id=1 -v which seems to work fine as well. I suppose using the oro:cron means that any other cronJobs that are set up will run as well.

    #25303

    alexmarcxyz
    Participant

    In app/etc/modules/New_Module.xml

    <?xml version=”1.0″?>
    <config>
    <modules>
    <New_Module>
    <active>true</active>
    <codePool>local</codePool>
    </New_Module>
    </modules>
    </config>
    In app/code/local/New/Module/etc

    <?xml version=”1.0″?>
    <config>

    Here you will find complete guide about setup cron job in Magento.

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

You must be logged in to reply to this topic.