Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want to run a process after every 10 minutes and in between i have to run another process. How do i go about it? I am trying the following psudo code
$pid=fork(); if($pid) { run one process; } while(1) { run the process after 10 minutes sleep 600; }
But I am not getting the desired result. Please help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Concurrent process
by zentara (Cardinal) on Mar 29, 2012 at 11:57 UTC | |
|
Re: Concurrent process
by temporal (Pilgrim) on Mar 29, 2012 at 17:18 UTC | |
by MidLifeXis (Monsignor) on Mar 29, 2012 at 17:58 UTC |