Hi... I have a similar situation:
I want to iterate over a large set of database entrys with a scheduled
cron job.
by now, I can manually use a page to do that using this:
http://code.google.com/appengine/articles/update_schema.html
(basically: iterates over small parts, and state is mainteined using
urls
strings used via 'get' and meta refresh stuff)
I havent tested, but what does the cron job do with the page
response?
Would the technic described in the above link work with cron jobs?
I guess it will not work...but.....
Thanks
> > can tellcronjobs are just intended to free you from needing acron
> > job on your own machine to hit a URL with wget or whatever
> > periodically.
>
> > Long-running processes are probably what you're looking for; hopefully
> > we'll see them soon.
>
> > In the meantime, the remote API might be the best solution for big
> > database cleanup jobs.
>
> > On Apr 12, 11:41 pm, jorge <
jorge.velazq...@gmail.com> wrote:
>
> > > I guess I probably misunderstood and thought thatcronjobs weren't
> > > subject to the same 10 second request deadline for HTTP requests? I'm
> > > trying to run acronjob that sends out a mailer. Unfortunately, it's
> > > taking longer than 10 seconds so the job will fail about halfway
> > > through. I guess I could rewrite it to only do batches at a time.
> > > The means extra tables in my database to keep track of who has been
> > > mailed, etc. Not a big deal, I guess. It just seems that this
> > > restriction makescronjobs fairly limited in what they can do. A
> > > database cleanup job, for example, is going to take longer and longer
> > > as tables grow and will almost certainly always hit this limit, and
> > > create a situation where thecronscripts will have to be rewritten
> > > and additional tables written to manage intermediate state, etc.
>
> > > Is the intent that thecronjobs will remain subject to the same
> > > restrictions as other requests?