Posts

Showing posts from April, 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> ...