Re: kill php.exe window

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

 



I mean How do I kill it automatically via script and not command line:

File name: while_loop_script.php


$ch = curl_init("mydomain/update_script.php?action=run");
curl_exec($ch);
curl_close($ch);

{exit or kill  script}

window schedule task:
run box: php.exe to scheldule task it every 5 minutes:

C:\php.exe D:\update\while_loop_script.php


On Mon, Apr 6, 2009 at 11:39 AM, Marc <lists@xxxxxxxxxx> wrote:

> >I need to exit php.exe window after completing an assigned task. Does
> anyone
> >knows how to close, exit,  kill or stop the window
>
> Run your PHP.exe by using appending "& exit" to your command. For instance:
>
> php.exe [YOUR COMMAND ARGS] & exit
>
> Greetings from Germany
>
> Marc
>
> --
> Sync and share your files over the web for free
> http://bithub.net/
>
> My Twitter feed
> http://twitter.com/MarcSteinert
>
>


-- 
Best Wishes
Andrew Williams

[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