I have a private add-on with my account. Now i have to load my add-on while user login to account in background and have to run the add-on every 15 min in background like filters.
I hope this is possible and kindly share some ideas or procedures or base code to write a code for that.
Hi Arutkavi,
When you're saying "a private add-on", it's mean you developped it? This should help you : https://community.atlassian.com/t5/Answers-Developer-Questions/Catching-user-login-event/qaq-p/497628
As describe in the tutorial linked by Dmitrii, you will include spring-context dependency, so you can use the Scheduled annotation with cron expression to run your code every 15 minutes.
http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html
The cron expression should looks like this : "0 0/15 * * * ?"
Hope this help.
Kind regards,
Christophe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.