DropWizard allows you to define administrative tasks and execute them remotely by clicking on the URL. DropWizard applications also have several built-in administration tasks, such as a garbage collector, that can be deleted by sending a GET to http(s)://yourapp.example.com:8081/tasks/gc .
I'm wondering if DropWizard has built-in support for scheduling tasks. For example, using the GC task as an example, it would be nice to schedule garbage collection every 3 hours or at midnight, etc.
Obviously, I could include something like Quartz to achieve this, but why reinvent the wheel if I DropWizard already supports this out of the box? The way it is?
source share