Hola Everyone, I'm looking for the best strategy to host a Kotlin app on AppEngine and have the main method run once deployed, similar to how a Jars main method runs. In the applications's main method is logic to retrieve content from an API request based on a Timer and save that information to a database.
Jars take a long time to deploy to AppEngine (10 - 20 min) which slows down development and is why I would like to move away from this approach.
I've deployed using Ktor, but the main method doesn't appear to be initialized without an endpoint being called.
Any insight is appreciated! 🙂