473,322 Members | 1,718 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

control process

i'm looking for a way to:

1. start a new process (exec(), proc_open(), popen(), whatever())
2. sleep(some_secs);
3. if the process is still running, kill it.
4. otherwise, go to 1.

any ideas on this?

--
daniel
Jul 16 '05 #1
2 2153
Try looking the php help for monitors or semaphores....as this looks
something like a thread....

point
"Daniel C Bastos" <da****@slashlog.org> wrote in message
news:be**********@newsreader.mailgate.org...
i'm looking for a way to:

1. start a new process (exec(), proc_open(), popen(), whatever())
2. sleep(some_secs);
3. if the process is still running, kill it.
4. otherwise, go to 1.

any ideas on this?

--
daniel

Jul 16 '05 #2
On Tue, 8 Jul 2003 16:07:10 +0200
"point" <in**@caanproduction.com> wrote:
Try looking the php help for monitors or semaphores....as this looks
something like a thread....


semaphores! that's what i'm looking for. awesome information, point.
thanks a lot.

--
daniel
Jul 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Pete | last post by:
I am doing maintenance on a database that uses the MSINET.OCX ActiveX control to do FTP transfers. Ideally, the program uses an embedded ActiveX control on a form to run about twenty downloads...
5
by: Miyra | last post by:
Hi. I'm working with an app that uses exceptions for control flow. These are code blocks where exceptions are thrown/caught regularly. A couple hundred exceptions occur per hour and they're caught...
4
by: thomson | last post by:
Hi all, i do have a user control with 4 buttons, and all the events are firing properly, My problem is that i need to right an event handler in the user control, which gets fired after a...
4
by: Jianwei Sun | last post by:
Hi, all, I have a question, and I hope to get some hints here.. I created a really simple service just to check why the service manager doesn't start my service the second time if the first...
0
by: Jose | last post by:
Hi All, I am in the process of extending a type of wizard control that I have built (I'm using ASP 1.1), but I'm unsure how to progress. This is what I have already. I have a user control...
2
by: =?Utf-8?B?SXJmYW4=?= | last post by:
Hello, It may be a repeated question but I don't find the solution to the situation that I encounter in it. My application is monitoring another application that is built in VB6. The...
0
by: ChopStickr | last post by:
I have a custom control that is embedded (using the object tag) in an html document. The control takes a path to a local client ini file. Reads the file. Executes the program specified in...
1
by: mierzej | last post by:
Hi everybody. My problem is - I want to take control over an ActiveX control of another running process. All I can obtain is a hwnd of the mentioned control. I can explore the control (coclass?)...
17
by: Cesar | last post by:
Hello people. I'm having a Winform app that contains a webbrowser control that keeps navigating from one page to another permanentrly to make some tests. The problem I'm having is that after a...
0
by: geet114 | last post by:
Hi, With the help of google and bytes I am able to launch(invoke) the commands(like dos commands), But the problem does end there, now I need launch(invoke) the command something like telnet in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.