Cron job not start in Standard engine

43 views
Skip to first unread message

Guangjie Feng

unread,
Sep 10, 2018, 10:16:33 PM9/10/18
to Google App Engine

Hi,
The cron job is not visible in "Cron Jobs" tab. It doesn't run as well.
My cron.xml is next to appengine-web.xml. 

<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
  <cron>
    <url>/task</url>
    <description>task on test</description>
    <schedule>every 10 minutes</schedule>
  </cron>
</cronentries>


Url "/task" can be access.  

Katayoon (Cloud Platform Support)

unread,
Sep 12, 2018, 6:47:45 PM9/12/18
to Google App Engine

Hi Guangjie,


I tried these steps and could create the cron job with your cron.xml config successfully.


Note that your Servlet URL mapping in web.xml should be the same as the cron job URL. If this mapping hasn’t been done properly, you won’t see the cron job even if you deploy your app successfully.


I recommend to double check the steps you have taken with the mentioned documentation. If the issue persists, you may post your full detailed question to Stack Overflow, using the supported Cloud tags since Google Groups are reserved for general Google Cloud Platform-end product discussions and not for technical questions.

Reply all
Reply to author
Forward
0 new messages