0

I am developing an application on GAE/J.

I want some of my APIs can be executed only from task queue and cron.

X-AppEngine-QueueName request header can be user for task queue as this question, but I can not find the way for cron.

How can I check whether my API is called from cron?

Community
  • 1
  • 1
N.F.
  • 2,874
  • 3
  • 18
  • 45

1 Answers1

1

Such requests will have a header X-Appengine-Cron.

Greg
  • 10,290
  • 1
  • 24
  • 35