Japes
Japes

Reputation: 265

Using google cloud endpoint for cron job

As per https://cloud.google.com/appengine/docs/java/config/cron?hl=en#Java_calling_google_cloud_endpoints You cannot reference a cloud endpoint directly with a cron job. You must reference a jsp or other file which then calls the endpoint. Ive done some tinkering in jsp, but I cannot get anythign referencing my endpoint to compile and nothing useful shows in the errorlog to help me trace.

so, if I have endpoint

myEp

and I want a cron to work calling myEp("x","y",z");

how can I achieve this in java using an appengine backend? Any code to help would be a lifesaver. I understand how to build the cron xml file, it is the page it references that has me lost.

Upvotes: 0

Views: 360

Answers (1)

alexvndre
alexvndre

Reputation: 36

Probably late, but this, will may be help someone : Episode 9: Using the Cron Service to run scheduled tasks

Upvotes: 0

Related Questions