GAE python script via GAE Cron service job time limit

67 views
Skip to first unread message

Sunil Kumar Pilli Samuel

unread,
Apr 14, 2019, 9:27:48 AM4/14/19
to Google App Engine

Friends, 

I would like to run a python script on GAE python 3 standard which calls a rest api and pushes the data to big query. This code runs for about 45 mins daily on my onprem server. 

Is there a time limit under which a python script has to complete when called via GAE cron service. 

I get lot of mixed answers . What is the correct answer for this particular scenario. 

Khaled Wagdy

unread,
Apr 14, 2019, 9:36:53 AM4/14/19
to google-a...@googlegroups.com
As far as I know the maximum is 10 minutes

--
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/401b7adc-a8d3-47b8-9f06-cbce5b04871c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

George (Cloud Platform Support)

unread,
Apr 14, 2019, 11:01:09 AM4/14/19
to Google App Engine
Hello Sunil, 

The cron timeout deadline depends on the instance class and scaling type that is configured for your app. In case of automatic scaling, timeout is about 10 minutes. For basic scaling and manual scaling, timeout can be up to 24 hours. You may gather related detail from the "cron.yaml Reference" online document
Reply all
Reply to author
Forward
0 new messages