yes, app.yaml is correctly configured - i can run the code via a url

On Nov 24, 2:36 am, Eli Jones <eli.jo...@gmail.com> 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 <
>
> gwynhow...@steppingstonesoftware.co.uk> 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 "Too many continues". 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 reporting too many continues? 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.
>
> > Thanks in advance ...
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=.

--

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


Reply via email to