I added a corn job to my applciation , I folwed these tutorials
http://www.rominirani.com/2009/11/16/episode-9-using-the-cron-service-to-run-scheduled-tasks/,
http://code.google.com/appengine/docs/java/config/cron.html
in brief
I added a new servlet to web.xml and crated a corn.xml inside web-
inf ,
my corn.xml
<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
<cron>
<url>/cron/gaejcronjob</url>
<description>GAEJExperiments Cron Job that simply announces
that it
got invoked.</description>
<schedule>every 2 minutes</schedule>
</cron>
</cronentries>
my web.xml
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<!-- <listener> -->
<!-- <listener-class>com.saibaba.links.MyListner</listener-class> --
>
<!-- </listener> -->
<servlet>
<servlet-name>Links</servlet-name>
<servlet-class>com.saibaba.links.LinksServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Links</servlet-name>
<url-pattern>/links</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>GAEJCronServlet</servlet-name>
<servlet-class>com.saibaba.links.GAEJCronServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>GAEJCronServlet</servlet-name>
<url-pattern>/cron/gaejcronjob</url-pattern>
</servlet-mapping>
</web-app>
I log into admin console click on my application--> corn Jobs,
nothing shows up , what am I missing why my corn job is not show in
admin console and not getting fired , pelase advice me
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.