Hello Pedro,You have employed a URL that differs somewhat of what is expected in the cron.yaml configuration file: url: /processdate?from=2016-03-01&until=2016-03-31. This URL indicates a time interval, when the URL in your app is expected instead, to which you want the Cron service to send job requests. Have a look at the "Scheduling Jobs with cron.yaml" online document for more detail.
--
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-appengi...@googlegroups.com.
To post to this group, send email to google-a...@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/b9558ba1-a3ed-434b-8cc9-fb835e046ad6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Your cron correctly calls /hellocron. The 302 error is returned from the call, so your handler needs attention, not cron. Error code 302 means "Found: Resource temporarily located elsewhere according to the Location header". You may read more detail on the "HTTP Status and Error Codes for JSON" page.
--
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-appengi...@googlegroups.com.
To post to this group, send email to google-a...@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/e8c27e1b-0708-436a-ab2f-5709cf15184a%40googlegroups.com.
--
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-appengi...@googlegroups.com.
To post to this group, send email to google-a...@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/9fa6269f-5e9b-42ba-8e24-b8cfd14cd346%40googlegroups.com.
Hello Pedo,
When you create a handler for cron job, it should execute any tasks that you want to be scheduled. To indicate success, the handler should return with HTTP status code between 200 and 299. You can find about this in the third point of the “Creating a cron job“ section of this document. When App Engine gets the HTTP GET request it converts it to a HTTPS request for your application. Therefore you can see the 302 redirect status code in the log. When your request is redirected the HTTP status code will be set to the value of the redirect_http_response_code parameter returned from your application. In your case the parameter may be not present which leads the 302 to be returned which is described here. As a result, App Engine is considering the cron job as failed.
I would advise you to go through your code and make proper adjustments.
In addition, I have noticed your project_id, module_id, version_id etc. in this Google Group thread. I would advise you to take caution before sharing any personal project specific information like these in any public forums as they can be used to harm your application.