OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums OroCRM OroCRM – How do I? Questions How do I change cron email body sync execution time ?

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

  • Creator
    Topic
  • #29720

    Matej
    Participant

    Hi,

    We would like to convert email to cases more often. From my analysis I realized that oro:cron:email-body-snyc is responsabile for this and it runs every 30th minute.

    SEE IMAGE -> https://imgur.com/a/r7lB0Nq

    Where can I set this cron to start every minute.

    Thank you.

    • This topic was modified 9 months, 2 weeks ago by  Matej.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #29722
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    The simplest way will be decorating the command \Oro\Bundle\EmailBundle\Command\Cron\EmailBodySyncCommand and replacing getDefaultDefinition method implementation.

    After applying changes run below command to sync definitions with the database:
    app/console oro:cron:definitions:load --env=prod

    #29723

    Matej
    Participant

    Thank you.

    It seems that it did the job …

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