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 Jaimy 6 years, 2 months ago.

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

  • Creator
  • #28384



    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
  • #28385

    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:


    Kind Regards,

    Jaimy Casteleijn

Viewing 1 replies (of 1 total)

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

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

Yes No