Hello,

I'm wondering if anyone is having similar issues with GAE cron jobs /
tasks via App Engine Patch?

Intended Flow:
1. Cron job 'do/store/weekly' triggers the creation of a task to build
html email.
2. Task executes, builds html email, and stores it in a DB "email
queue".
3. Some time after (e.g. +10 min) the 'do/store/weekly' job, another
cron triggers the weekly collection of subscribers (email addresses,
unsub token)
-- How things get broken down at this point is TBD depending on
timeout, cpu usage etc.--
4+. Tasks executes the creation of 1 "send email" task per subscriber
(collection of email, html etc), theses tasks in queue execute asap.

Issues:
1. do/store/weekly' is always returning 301. In the response I've
tried (lines 24-27) all result in 301 status. Cron returns 200 when
user-initiated (hitting the url directly via browser).
2. Intermittent cpu_ms & api_cpu_ms warnings.  e.g. Sometimes '/do/
store/weekly' will run without warnings other times it will report: /
do/store/weekly 301 1287ms 1613cpu_ms 0kb  where both (1287 & 1613)
are in red and with warning icons. GAE's cron jobs don't have auto-
cancel conditions do they?
3. Cron consistently reporting "on-time Failed".

Code: http://dpaste.com/hold/94080/

Any insight would be very appreciated as my searches have come up
short. I suspect (read: hope) my other issues are due largely in part
to the 301 status, but maybe I've skewed something else up too.

Thanks kindly,
-ttk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to