I think first we need to consider the processing time of the job and
schedule the job accordingly.Otherwise it will make some impact of the end
result also.

Thanks,
Gayan

On Sat, Oct 31, 2015 at 10:44 PM, Sinthuja Ragendran <sinth...@wso2.com>
wrote:

> Hi Udara,
>
> AFAIK there is no such limitation as you cannot configure the cron below 1
> minute, can you please share the doc link where it's stated as such? And
> your cron expression is correct and this will work in BAM, this will
> trigger every 30 seconds as explained in quartz docs.
>
> Thanks,
> Sinthuja.
>
> On Sat, Oct 31, 2015 at 5:01 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> As mentioned in docs, smallest time gap a cron job can be is 1 minute.
>> However when I set below as cron expression it seems to run the cron job
>> every 30 second. Is this expected behavior?
>>
>> 0/30 * * * * *
>>
>> However according to quartz docs [1], it supports seconds too.
>>
>> [1]
>> http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-06
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gay...@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to