Hi Anurag, For a cron task to be considered successful it must return a value between 200 and 299 (inclusive).
Redirects are not followed by the cron system. On 22 January 2011 18:51, Anurag <[email protected]> wrote: > this is the cron job request in log, it shows no error > > 01-21 11:41PM 50.750 /xxx/resource_summation_task_start 301 4ms > 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) > 0.1.0.1 - - [21/Jan/2011:23:41:50 -0800] "GET /xxx/ > resource_summation_task_start HTTP/1.1" > 301 170 - "AppEngine-Google; (+http://code.google.com/appengine)" > "xxx.appspot.com" ms=5 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.000048 > queue_name=__cron task_name=93800058e445afcf830ee9a295ff1528 > > this is when I run URL /xxx/resource_summation_task_start manually > from new chrome browser incognito window(without any login/session > etc) > > 01-21 11:46PM 11.203 /xxx/resource_summation_task_start/ 200 430ms > 570cpu_ms 500api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.1; > en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 > Safari/534.10,gzip(gfe) > 123.236.186.51 - - [21/Jan/2011:23:46:11 -0800] "GET /xxx/ > resource_summation_task_start/ HTTP/1.1" > 200 125 - "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/ > 534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/ > 534.10,gzip(gfe)" > "xxx.appspot.com" ms=430 cpu_ms=571 api_cpu_ms=501 cpm_usd=0.015917 > > The only difference i see is return code 301, does that mean cron job > can not run with redirected url ? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" 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?hl=en. > > -- Greg Darke -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
