Hello Gary!
you can add at your component declaration in cocoon.xconf a pipeline tag [<pipeline/>] to execute your match
for example:
<component role="org.apache.cocoon.components.cron.CronJob/task_to_run"
class="MyClass"
logger="cron.task_to_run">
<pipeline>sendmail</pipeline>
</component>
then inside "MyClass" you can to call the pipeline with request parameters
and into sitemap.xmap to do a match pattern to: sendmail.

Gary Larsen escribió:

I’m running Cocoon 2.1.9.

The application periodically runs some background processing with CocoonQuartzJobScheduler.

I want to send an email at the end of processing and thought that a SendMail action would be the easiest solution. Can I run this Action from Java, or do something similar to a flowscript sendPage()?

Thanks,

gary



--
Saludos,

Karen Torres N.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to