On Saturday, October 31, 2015, Gayan Gunarathne <[email protected]> wrote:

> 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.
>

It's not required, because in BAM while the first triggered task is
running, then even though next trigger time is met it will not be
triggered.

Thanks,
Sinthuja.

>
>
> Thanks,
> Gayan
>

> On Sat, Oct 31, 2015 at 10:44 PM, Sinthuja Ragendran <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> 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 <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> 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
>> [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Gayan Gunarathne
> Technical Lead, WSO2 Inc. (http://wso2.com)
> Committer & PMC Member, Apache Stratos
> email : [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
> | mobile : +94 775030545 <%2B94%20766819985>
>
>
>


-- 
Sent from iPhone
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to