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.
  • 3,844
  • 3
  • 22
  • 53

1 Answers1

1

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

Greg
  • 10,350
  • 1
  • 26
  • 35