In fact, Frank is right. The easiest way is to add a parameter within your 
command configuration.

Scheduler commands are run automatically by Magnolia in SystemContext, that is, 
without an associated WebContext. Hence, there is neither a request nor a 
context path to access. Consequently, a call to MgnlContext.getContextPath() 
will fail in scheduled commands.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=6ae3bb79-9257-448d-bc8e-04e99508f43d


----------------------------------------------------------------
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