ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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

  • Creator
    Topic
  • #9165

    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
  • #9265
    Jaimy
    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)

You must be logged in to reply to this topic.