You should be able to create a Filter (extend javax.servlet.Filter)
which you then add to the web.xml. It will pass you the request/
response objects before the servlet/services are invoked to handle
them. Using this you can filter out most responses to return a
maintenance page, but allow certain IP's to pass through (typically
all the localhost IPs as well as your own).

On Oct 13, 12:24 pm, Arvind Rao <[email protected]> wrote:
> Hello there
>
> I have a Java-based app hosted on GAE. I want to schedule daily downtime for
> my app to clean up the datastore.
>
> a) Is there any way I can bring down the app (i.e. stop serving requests
> from users and cron jobs), so that I can do a manual clean up using the
> Datastore Viewer or Admin? Right now if I disable the app, I'm not allowed
> to - "*Sorry, that operation is not allowed while the application is
> disabled.*".
>
> b) If (a) is not possible, is there is any way I can temporarily disable
> just the scheduled cron jobs? They fire every minute and update the
> datastore, so if I can disable them that might be sufficient time for me to
> do a quick manual cleanup.
>
> Apologies if I missed this in the documentation or somewhere online, but so
> far I couldn';t find any answers on the web.
>
> Thanks
> Arvind

-- 
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