Hi AppEngine Community, 👋

*Is there a way to run Cron Jobs with Ktor <https://ktor.io/>?*

I'm currently hosting multiple Java *.jar* apps written in Kotlin on 
AppEngine. I'm looking to refactor these apps into *Ktor* apps on AppEngine 
with a Cron Job 
<https://cloud.google.com/appengine/docs/standard/java/config/cron-yaml> for 
scheduled tasks, as the *.jar* apps I've noticed have more issues with 
dependencies. 

I'm looking for Ktor's equivalent to Cloud Functions' built-in 
implementation 
<https://firebase.googleblog.com/2019/04/schedule-cloud-functions-firebase-cron.html>
 for 
Cron Jobs with JavaScript. 

functions.pubsub.schedule

*Back-up option:* If Ktor does not have this feature and I want to keep the 
code in Kotlin, Google has an alpha, Using Kotlin with Google Cloud 
Functions 
<https://github.com/GoogleCloudPlatform/kotlin-samples/tree/master/functions>. 
It appears Kotlin + Cloud Functions' built-in implementation could be used 
with this approach.

Much appreciated!

Adam <https://www.linkedin.com/in/adamshurwitz/>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/94ddc218-ed75-4a52-a3a7-6a4f66b1e5e7%40googlegroups.com.
  • [google-appengine... Adam Hurwitz

Reply via email to