Hello Markus,

I don't know if this is your problem, but I had a similar error with a command 
running from a workflow. In the end I was able to solve it by placing the 
command in the "default" catalog - under 
/modules/adminInterface/commands/default

Regards from Vienna,

Richard

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Markus Malkusch
Gesendet: Mittwoch, 18. April 2012 10:21
An: [email protected]
Betreff: [magnolia-user] Command not working in Scheduler

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



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to