Hello all,
I am new to Kotlin..
I have a rest API built on Javalin..I want to add a feature which takes customer details from DB and charges them fees on first of every month..but it shouldn't be a endpoint to be triggered by a cron job from someplace else..it should be internal to the app (should be in another thread, I guess since rest endpoints will be maintained by one thread??) How do I go about this?