Posted on In this tutorial, we will show you how to create a scheduler task or cron job on Google App Engine, for Java. In GAE, cron job uses HTTP GET request to call an URL, the duration of the cron job running time is limited to run up to 10 minutes only, if excess, GAE kill your job. To create a cron job on GAE, just define cron jobs in a file "cron.xml", and put in the "WEB-INF" folder. Cron Job Tutorial Now, we will create a cron job on GAE, and schedule call an URL from Spring MVC REST example . Google App Engine Java SDK 1.6.3.1 Spring 3.1.1 JDK 1.6 1. Spring Controller package com.
Read full article from Cron job on Google App Engine for Java
No comments:
Post a Comment