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