Re: kill php.exe window
| From: | Andrew Williams | Date: | Mon, 06 Apr 2009 10:50:41 +0000 |
| Subject: | Re: kill php.exe window | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291118@lists.php.net to get a copy of this message | ||
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@bithub.net> 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