Let's say I have an app, started with mvn spring-boot:run, or java -jar myApp.jar.
After a while I want to trigger the execution of a method, from command line. Is it possible ?
I've checked CommandLineRunner but is seems it can only execute code right after the app boot, while I want to execute a method whenever I want.