Page 1 of 1

How to debug crontab Jar tasks?

PostPosted:Thu Jul 28, 2016 12:01 pm
by khpavel
Hello!

I use OpemKM 6.3. Development environment
I need to periodically send email to users
I've creates jar file for this task and created crontab task.
How can I debug this jar?

Re: How to debug crontab Jar tasks?

PostPosted:Sat Jul 30, 2016 9:18 am
by jllort
You can debug like another application, simply add in server configuration -> sources the project of the jar and set breakpoints. Remember executing server in debug mode ( not running one, otherwise the application will not be stopped in breakpoints )

About eclipse debug take a look at
http://www.vogella.com/tutorials/Eclips ... ticle.html
https://www.youtube.com/watch?v=9gAjIQc4bPU