måndag 1 januari 2007

Execute many files in parallel - run-part

Sometimes one wants to run a lot of scripts in a directory. For this purpose, a program called run-part can be used. Crontab does this when it executes all files in /etc/cron.daily/.
Run-parts works well, but it executes all files after another. For performance reasons, I needed parallell execution. So I wrote run-parts-parallel. Good when you have a multiprocessor or dual(multi-) core processor!

The source is available at my homepage.
To install it under debian, add
deb http://hem.bredband.net/pauls/debian/ sarge main
to /etc/apt/sources.list and then do
apt-get update
apt-get install run-parts-parallel

Inga kommentarer: