control process

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel C Bastos

    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
  • point

    #2
    Re: control process

    Try looking the php help for monitors or semaphores....a s this looks
    something like a thread....

    point


    "Daniel C Bastos" <daniel@slashlo g.org> wrote in message
    news:bee3u4$7jb $1@newsreader.m ailgate.org...[color=blue]
    > 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[/color]


    Comment

    • Daniel C Bastos

      #3
      Re: control process

      On Tue, 8 Jul 2003 16:07:10 +0200
      "point" <info@caanprodu ction.com> wrote:
      [color=blue]
      > Try looking the php help for monitors or semaphores....a s this looks
      > something like a thread....[/color]

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

      --
      daniel

      Comment

      Working...