Hi Tullio Commands can be triggered directly in Java code, by configuration e.g. in the scheduler module or by combining with other commands. If you want something to happen when a page is activated then have a look at
Configuration > /modules/adminInterface/commands/website/activate You will see that this is a combined command consisting of a "version" and a "activate" command. You should now be able to add your personal command there (e.g. "mailNotification"). Cheers -will On 09.11.2012, at 10:36, Tullio Bettinazzi (via Magnolia Forums) wrote: > In documentation I read "Commands are custom actions executed at pre-defined > trigger points." but I didn't find any "pre-defined trigger points" in the > documentation and, then I'm not able to understand how trigger commands. > In my environment I need to send a mail when a "New" is published (or > activated), how can I do that job ? > Tks > Tullio > > -- > Context is everything: > http://forum.magnolia-cms.com/forum/thread.html?threadId=84910f00-dc04-4cb2-9776-7b730bb2bdef > > > ---------------------------------------------------------------- > 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]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
