• How to debug crontab Jar tasks?

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #42076  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?
 #42089  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.