John Hoffman
John Hoffman

Reputation: 18617

How do I view logs for a failed cron job in App Engine?

One of the daily cron jobs I defined in cron.yaml failed on my live webapp2 app.

Is there a way to view say standard error output, stack traces, or logs in general from App Engine cron jobs?

Upvotes: 0

Views: 203

Answers (2)

Les Vogel
Les Vogel

Reputation: 7132

With the consolidated logs, you should be able to look at the time your job was supposed to run. Crashes should be in the logs, but you need to hook up logging for it to show up there.

Upvotes: 1

GAEfan
GAEfan

Reputation: 11360

These do show up in the logs. Perhaps do a regex search for 'AppEngine-Google', as that will show up in the user-agent header for cron jobs and taskqueues.

Upvotes: 1

Related Questions