mark,

glad you were able to figure it out on your own. it seems that it
turned into a "redirect" problem after all.

@googlegeeza: are you still having this problem or have you figured it
out as well? i tried your example, and it "works for me."

best regards,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: [email protected]
developer relations :: google app engine


On Dec 18, 1:16 pm, Mark <[email protected]> wrote:
> I figured out another cause of this error.  If you have the URL
> handler set to "secure: always" then it will also fail.  The cron hits
> the http version, and gets redirected to https, which it doesn't
> like.
>
> On Dec 18, 1:09 pm, Mark <[email protected]> wrote:
>
>
>
> > I get the same error, and I'm just outputting text, no logging.  I
> > hope this limitation gets removed.  Let me know if anyone knows a
> > workaround besides using another cron service.
>
> > On Nov 25, 4:28 am, googlegeeza
>
> > <[email protected]> wrote:
> > > yes, app.yaml is correctly configured - i can run the code via a url
>
> > > On Nov 24, 2:36 am, Eli Jones <[email protected]> wrote:
>
> > > > does your app.yaml have the appropriate lines to handle the cron url as
> > > > well?
>
> > > > app.yaml should have this line before other handlers:
> > > > - url: /testcron
> > > > script: test.py
> > > > or something like that..
>
> > > > On Mon, Nov 23, 2009 at 8:43 AM, googlegeeza <
>
> > > > [email protected]> wrote:
> > > > > i know this has been posted before, but in other posts the error was
> > > > > caused by redirects and other issues.
>
> > > > > i have a cron job scheduled to run every minute (also tried it every 5
> > > > > minutes). the cron job runs some code which prints a string to the the
> > > > > log, that's it. but it doesn't run. the error on the cron jobs page in
> > > > > the admin console is "Toomanycontinues". This doesn't make sense as
> > > > > I am not doing anything in the job, just printing to the log. Code as
> > > > > below:
>
> > > > > cron.yaml:
> > > > > cron:
> > > > > - description: TestCron
> > > > >  url: /testcron
> > > > >  schedule: every 1 minutes
>
> > > > > test.py:
> > > > > class TestCron(webapp.RequestHandler):
> > > > >    def get(self):
> > > > >        logging.info('cron test')
>
> > > > > application = webapp.WSGIApplication( [('/testcron', TestCron),],
> > > > > debug=True)
>
> > > > > Why is it reportingtoomanycontinues? I am not looping anything, or
> > > > > causing anything to 'continue' in any way.
>
> > > > > Nothing gets printed to the log which suggests it's not even trying to
> > > > > run my TestCron class.

--

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