Hi Roxana,

Thanks, I cannot see the cron jobs App Engine -> Task Queues -> Cron Jobs. 
 How do I run update_cron?

Please find the web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.5"
         xmlns="http://java.sun.com/xml/ns/javaee";
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>

    <servlet>
        <servlet-name>repsai-tickets-retrieval</servlet-name>
        <servlet-class>ai.reps.server.api.RepsAITicketsRetrieval</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>repsai-tickets-retrieval</servlet-name>
        <url-pattern>/tasks/repsai/retrieve_tickets</url-pattern>
    </servlet-mapping>

    <filter>
        <filter-name>ObjectifyFilter</filter-name>
        <filter-class>com.googlecode.objectify.ObjectifyFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>ObjectifyFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <listener>
        <listener-class>ai.reps.server.datalayer.OfyHelper</listener-class>
    </listener>
</web-app>


On Thursday, June 1, 2017 at 4:29:39 PM UTC+3, Roxana Ioana Roman wrote:
>
> Are your cron jobs visible in App Engine -> Task Queues -> Cron Jobs? If 
> not, you have to run update_cron. 
> Can you add your web.xml and the Servlet which handles these cron jobs? 
> Your second cron job does not have a <target> which means the job will run 
> on the default service .
>
> Roxana
>
> On Thursday, 1 June 2017 01:35:41 UTC+3, Shachar Grembek wrote:
>>
>> Hi,
>>
>> I am running an App Engine Standard environment and trying to se cron 
>> scheduled tasks. I've created the cron.xml (alongside the web.xml) and went 
>> by the guide in the following link: 
>> https://cloud.google.com/appengine/docs/standard/java/config/cron
>> However, I don't see the cron start (both in the logs and in the console 
>> App Engine -> Task Queues -> Cron Jobs)
>>
>> Can u please advise what might I be doing wrong?
>>
>> cron.xml:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <cronentries>
>>     <cron>
>>         <url>/tasks/repsai/retrieve_tickets</url>
>>         <target>beta</target>
>>         <description>daily summary job</description>
>>         <schedule>every 2 minutes</schedule>
>>     </cron>
>>     <cron>
>>         <url>/recache</url>
>>         <description>Repopulate the cache every 2 minutes</description>
>>         <schedule>every 2 minutes</schedule>
>>     </cron>
>> </cronentries>
>>
>>
>> Thanks
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3f86ee57-e485-4e4e-94b1-fa40bb3b32a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to