Handling Long Proccess

    Date: 07/27/05 (PHP Community)    Keywords: php, database

    Ok, I have a php page that takes a long time to run, its a lot of external api interaction and database transactions. Normally this will run as a chron job, what is the best way to make sure this runs its whole length without timing out? I've seen pages run the "Maximum Execution Time" before and I dont want that to happen with this.

    Also, I would like to be able to manually start this proccess from another page, what is the best way to do this? I mean, I could just execute the code from this page, but then that would make the page wait untill proccessing is over.

    Any help would be awesome.

    Source: http://www.livejournal.com/community/php/325290.html

« Distributed development tool? || date range for the current... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home