How can I create a session that runs off the parent that will either inject itself every X processes and run the cleanup code OR create a separate session that runs the cleanup code, sleeps, repeat OR create a separate session off the parent that runs every hour. All of this needs to happen in a non-blocking state of the other jobs.
With regard to the title of your post, in the Cookbook, there's an entry /Waiting.
For setting up a cron(8)-like session, have a look into the OSCON 2004 Example programs folder.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: POE Sleep Process
by shmem
in thread POE Sleep Process
by madbombX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |