Dear Magnolia community

I have my command defined in my module:
modules/my-module/commands/myCatalog/myCommand

After that I defined the job in schedulder/config/jobs/myJob with 
catalog=myCatalog and command=myCommand

For testing I just made it run every second (* * * * * *).

This works well. If I restart magnolia. It says:

Starting job [myJob]
Can't find command [myCommand] for job in catalog [myCatalog]

But everything's still there. Hmm. So I renamed my Command in something else. 
This caused of course only to change the error message. And then I renamed it 
back to "myJob" and suddenly it works again.

I think it's not straight forward to tell all the developers that they have to 
do this renaming process everytime the application starts. Is there any 
convenient way to make the scheduler work with my command instantly?

Regards
Markus Malkusch

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to