Re: Run process in background

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 14, 2007 10:10 AM, Viacheslav Chumushuk <viacheslav88@xxxxxxxxx> wrote:
> Hello.
>
> I want to run process from my php script in background.
> I try different functions from functions list but all of them whaiting for
> process ending.
>
> How can I run `wget -b ...` and finish my script, but wget must still working?
>
> I use PHP5, Linux, Apache2.

    You can start by searching Google and the archives.  This is
brought up all the time.

<?
    exec('wget -b ... >> /dev/null 2>&1 &');
?>

-- 
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux