# PHP Timeout Help

**URL:** https://forum.kirupa.com/t/php-timeout-help/144773
**Category:** Uncategorized
**Created:** [April 17, 2005, 2:43am UTC](https://forum.kirupa.com/t/php-timeout-help/144773 "2005-04-17T02:43:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![samotboy](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@samotboy](https://forum.kirupa.com/u/samotboy)
#### Post date: [April 17, 2005, 2:43am UTC](https://forum.kirupa.com/t/php-timeout-help/144773/1 "2005-04-17T02:43:29Z")

</div>

Ok I have a script which accesses an external source database and inserts its data into my own. When i run it on cron job I think the script just finishes but as it gets bigger it has now started timing out.  
Is there anyway to make it not time out?  
Ive tryed putting sleep() into the function to delay it before it grabs another record but it still timesout?

Please post anthing relevant and help  
Thanks in Advanced
