On Thu, Feb 23, 2012 at 4:44 PM, Sanjaya Vithanagama <sanja...@wso2.com>wrote:

> Hi All,
>
> We are going to add a configuration parameter to the human task
> implementation to clean up the task instances which are in a final state
> (i.e Completed, Failed etc). For this, we thought of adding a cron
> expression to define the frequency of the clean up job. Is there a standard
> way we could run a cron job in Carbon? Or is it ok to use quartz
> CronTrigger[1] to achieve this ?
>

We were using synapse scheduled task for this. It uses quartz and supports
the cron string too. But now we have a new ntask implementation also. We
can use that one too. ntask feature is used in DSS latest release AFAIK.

Regards,
AmilaM.

>
> [1] http://quartz-scheduler.org/api/2.0.0/org/quartz/CronTrigger.html
>
>
> Thanks and regards,
> SanjayaV.
> --
> Sanjaya Vithanagama
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 71 342 2881
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Amila Maharachchi*
Senior Software Engineer; WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to