The software on this pages will slowly be moved to GitHub https://github.com/hilbix/. The CVS repository will be migrated to GIT as well, so the history will be preserved, a bit. See FAQ.
The tools are developed under Linux with
release early, release often
So you can consider this beta software, or alpha, or pre-alpha, or even worse ;)
Have a look in the download directory for all downloads.
As always here, all you get is the source. No binaries here.
Start a program N-M times in parallel by running it it each A-B seconds
⇒ ⇒ ⇒ The development shifted to another location. All future versions will be published at https://github.com/hilbix/timestart ⇐ ⇐ ⇐
timestart N M A B program tries to keep N running programs in parallel. The interval between program execution is adjusted accordingly.
timestart keeps some bounds, it never executes more than M programs in parallel and the interval is kept between A and B seconds.
If the program not returns 0 (or true), the next invocation is delayed B seconds, but this has no influence on the calculated interval.
Also following signals are honored: SIGHUP makes the program terminate after all childs are finished; SIGUSR1 halts the spawning of new programs; SIGUSR2 continues and immediately spawns a new program; SIGWINCH print statistics to stderr
Note that timestart will run more than M programs if SIGUSR2 is sent more often, as these signals are meant to help in debugging. Signals to parent processes can be sent easily using $PPID, so the child tasks can control timestart a bit.
The debug output of timestart is written to FD3 if this FD is redirected somewhere.
Bugfix release, also statistics on SIGWINCH added
SIGWINCH is a convenience feature. Resize the terminal and you get a statistics for free ;)
(9217 bytes archive)
A rough first version
License and Disclaimer
All you can see here is free software according to the GNU GPL.