0

I am facing an issue in which I have configured a cron job in google app engine and it is successfully deployed but unfortunately it failed to run. The screenshot below show the configured cron job with the status

enter image description here

Another issue is when I click on view in the log column it shows as follows:

enter image description here

Can anyone please guide me how can I debug the issue of the cron not running in this case.

Thanks,

Furqan Ahmed
  • 159
  • 1
  • 3
  • 17
  • cron config? handler code? – Dan Cornilescu Jul 29 '16 at 06:21
  • You can also try to trigger the job manually, using a GET request for the respective URL, see what happens... – Dan Cornilescu Jul 29 '16 at 06:21
  • Now I am able to view the logs and the following error is appearing in the logs Request failed because URL requires user login. For requests invoked within App Engine (offline requests like Task Queue, or webhooks like XMPP and Incoming Mail), the URL must require admin login (or no login) Can you guide me regarding to this error – Furqan Ahmed Jul 29 '16 at 08:39
  • 1
    That referes to the auth options configured in your app for the cron job's URL: https://cloud.google.com/appengine/docs/java/config/webxml#Security_and_Authentication – Dan Cornilescu Jul 29 '16 at 10:04

0 Answers0