# 1h Timeout in Invoke Python Method Activity

**URL:** <https://forum.uipath.com/t/1h-timeout-in-invoke-python-method-activity/336833>\
**Category:** Activities\
**Tags:** completed, python, activities\
**Created:** [August 11, 2021, 11:01am UTC](https://forum.uipath.com/t/1h-timeout-in-invoke-python-method-activity/336833 "2021-08-11T11:01:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lhengel](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lhengel/32/178923_2.png) [@lhengel](https://forum.uipath.com/u/lhengel)\
**Post date:** [August 11, 2021, 11:10am UTC](https://forum.uipath.com/t/1h-timeout-in-invoke-python-method-activity/336833/3 "2021-08-11T11:10:48Z")

</div>

> [@Load Python script timeout, python trigger alternatives](https://forum.uipath.com/t/load-python-script-timeout-python-trigger-alternatives/250869):
>
> Hi, I am trying to build an automated process that triggers a python script to connect to a database and perform operations. My issue is that the script by itself takes 4-5hrs to complete its functions, but the Load Script activity in UiPath times out after 1hr. I am at a loss as to how would I go about working around this. I don’t see an option in python activities to increase timeout. Any help would be appreciated. Thanks.

---

_[View the full topic](https://forum.uipath.com/t/1h-timeout-in-invoke-python-method-activity/336833)._
