Hi all, Please use the ntask implementation. I tried it out for G-Reg and it is fairly easy to use. I'm still in progress with that work, and I should be able to share a concrete example of how to use it by next Monday.
Thanks, Senaka. On Thu, Feb 23, 2012 at 4:59 PM, Amila Maha Arachchi <ami...@wso2.com>wrote: > > > 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 > > -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev