Custom Spring Bean Task Configuration using Cuba Administration -> Scheduled Task Screen

Dear Team,
I have created a spring bean. my requirement is configure this as cron job by using Cuba Administrtaion -> Scheduled task Screen.

Spring Bean is not showing up in dropdown. is there any additional configuration to be done?

Found the solution in cuba documentation.

The bean is listed and available for selection only if it is defined in the core module and has an interface, which contains methods appropriate for invocation from the task. Beans without an interface are not supported.

https://doc.cuba-platform.com/manual-latest/scheduled_tasks_cuba_reg.html

1 Like