OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions Execute Cron Command

This topic contains 1 reply, has 2 voices, and was last updated by  Jaimy 9 years, 1 month ago.

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

  • Creator
    Topic
  • #28384

    MannyCalavera
    Participant

    Hey!

    I’m trying to execute a self-created cron command following the OroBook instructions, but it doesnt work.
    When I execute oro:cron, only the built-in commands are executed. Am I missing something?

    This is my code.
    (Btw.: ‘*/1 * * * *’ means that it’s executed every minute, right?)

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #28385

    Jaimy
    Participant

    Hi @mannycalavera,

    You’ve done exactly like the instructions, the only thing is, there is 1 part missing to solve your puzzle. Every command should extend the “ContainerAwareCommand”, as symfony describes in Create a console command.

    So your code will look like this:

    Goodluck!

    Kind Regards,

    Jaimy Casteleijn

Viewing 1 replies (of 1 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top