Latest ROM: G930FXXU1DQEU
Saturday, July 8, 2017
Sunday, April 2, 2017
[Google Cloud] Upload Cron using Eclipse
1. Create cron.xml and put it on src/main/webapp/WEB-INF:
<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
<cron>
<url>/tasks/summary</url>
<target>beta</target>
<description>daily summary job</description>
<schedule>every 24 hours</schedule>
</cron>
</cronentries>
2. And change pom.xml to:
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>${appengine.maven.plugin.version}</version>
<configuration>
<deployables>
<param>target/appengine-staging/WEB-INF/appengine-generated/cron.yaml</param>
</deployables>
</configuration>
</plugin>
Note that cron.yaml is the output staging of cron.xml when deploying.
3. And run command below on Terminal for checking if the deployed works correctly:
mvn appengine:deploy -X3. And run command below on Terminal for checking if the deployed works correctly:
Why not using Eclipse to upload cron?
It seems it is Google Tools issues.
Subscribe to:
Posts (Atom)
[ROM] Samsung S7 Stock Firmware BRI (Taiwan台灣)
Latest ROM: G930FXXU1DQEU Download: https://kfhost.net/tpl/firmwares.php?record=B7E6DE774E3811E7963AFA163EE8F90B Reference: http://...
-
In Android 4.1 (API 16) and above, MediaCodec is introduced by Android. By using MediaCodec, we can easily decode video without using Androi...
-
#include <sstream> #include <assert.h> // include in android platform-9 or newer #include <android/asset_manager.h> #inclu...
-
Latest ROM: G930FXXU1DQEU Download: https://kfhost.net/tpl/firmwares.php?record=B7E6DE774E3811E7963AFA163EE8F90B Reference: http://...