Hi Shani,

Actually this is a kind of known problem we have. Either you have
configured with the cron expression or from the selection UI it would be
saved as a cron expression. As we are not saving whether it has come from a
pure cron or from the UI it cannot distinguish when loading the schedule
back. Anyway if it was unscheduled it would be shown correctly when
loading. So there would not be a big problem but some difficulty for the
user, as he has to understand the cron. We hope to fix this in future.



*Maninda Edirisooriya*
Software Engineer

*WSO2, Inc.*lean.enterprise.middleware.

*Blog* : http://maninda.blogspot.com/
*Phone* : +94 777603226


On Wed, Feb 26, 2014 at 5:24 AM, Shani Ranasinghe <sh...@wso2.com> wrote:

> Hi,
>
> I have a script in BAM, and is trying to schedule it (via Simple
> Scheduling) to run every minute (for testing purposes). Once I save the
> change the following is shown in the console and when I re-click the
> Schedule script option of the script it does not show my selection, but
> shows the default(Cron expression). Is this the expected behavior? Or have
> I been missing something?
>
> If it is the behavior, should we not have the change (the schedule
> selected by the user for the script) shown to the user when the schedule
> script is re-clicked? Also how does one figure out what the scheduling is?
> and If it is scheduled or not?
>
> *Console output *
>
> [2014-02-25 16:50:42,216]  INFO
> {org.wso2.carbon.analytics.hive.ui.servlet.SaveCronExpression} -  0 1 * ? *
> * *
> [2014-02-25 16:50:42,251]  INFO
> {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} -  Task
> deleted: [-1234][HIVE_TASK][simple_stock_quote_service]
> [2014-02-25 16:50:42,258]  INFO
> {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} -  Task
> scheduled: [-1234][HIVE_TASK][simple_stock_quote_service
> --
> Thanks and Regards
> *, Shani Ranasinghe*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to