I see 2 ways:
1. create "empty" version for your application with return "OK" (or other
text) for any request and do not do any else. For dowtime you will make
"empty" as default version, than return your usual version.
2. Make any property such as "downtime" in memcache & db and check it for
every request and if it is true - do nothing.

2011/10/13 Arvind Rao <arvindrao....@gmail.com>

> 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 view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/c_XwndvXyGEJ.
> To post to this group, send email to google-appengine@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.
>



-- 
С уважением,
Кулин Тимофей.

Телефон: +7 (4852) 974793
ICQ: 114902104
email: timo...@koolin.ru
Blog: http://timofey.koolin.ru

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