Skip to content

saaby/tqueue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tQueue

tQueue is a generic multithreaded command queuer written in Python.

Features

  • configurable amount of worker threads
  • configurable work queue size
  • configurable loglevel
  • configurable handling of aborts; can let workers finish current task before shutting down, or shut them down immediatly
  • handles processor script return codes and errors.

Getting Started

  • Checkout the source: "git clone git://github.com/saaby/tqueue.git" and install it yourself.

Simplest usecase

$ generate_item_list | ./tqueue.py processor_script.sh

Which will process each line from the generator as an argument to the processor_script.sh (running 4 parallel scripts at a time, which is default)

About

Threaded queuer written in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published