set application ID and a manual for web cron job push
Change-Id: I1a666857d9a3724b0b42a5cac6dc9a84edfb100e
diff --git a/doc/web/vts_dashboard.md b/doc/web/vts_dashboard.md
index 5a13da0..b48bf2b 100644
--- a/doc/web/vts_dashboard.md
+++ b/doc/web/vts_dashboard.md
@@ -96,12 +96,19 @@
## To run GAE on local machine:
-$ cd web/dashboard/appengine/servlet
-$ mvn clean gcloud:run
+`$ cd web/dashboard/appengine/servlet`
+`$ mvn clean gcloud:run`
## To deploy to Google App Engine
-$ cd web/dashboard/appengine/servlet
-$ mvn clean gcloud:deploy
+Caution: only a release engineer must do the following based on a procedure.
+
+`$ cd web/dashboard/appengine/servlet`
+`$ mvn clean gcloud:deploy`
+
+To update cron jobs
+
+`$ cd web/dashboard/appengine/servlet`
+`$ <your appengine-java-sdk dir>/bin/appcfg.sh update_cron src/main/webapp/`
visit https://<YOUR-PROJECT-NAME>.googleplex.com
diff --git a/web/dashboard/appengine/servlet/src/main/webapp/WEB-INF/appengine-web.xml b/web/dashboard/appengine/servlet/src/main/webapp/WEB-INF/appengine-web.xml
index c8d1af7..eea6008 100644
--- a/web/dashboard/appengine/servlet/src/main/webapp/WEB-INF/appengine-web.xml
+++ b/web/dashboard/appengine/servlet/src/main/webapp/WEB-INF/appengine-web.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+ <application>s~google.com:android-vts-staging</application>
+ <!-- switch to below for production push
+ CAUTION only VTS release engineer shall do such production push
+ after running all of its tests and verifying the UI.
+ <application>s~google.com:android-vts-internal</application>
+ -->
+ <version>1</version>
<threadsafe>true</threadsafe>
<vm>true</vm>
<sessions-enabled>true</sessions-enabled>