blob: b9e788b04c3fa0833426af35279dbf37cc2b7879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Simple Text Queue
=================
Why `tea` ???
- Because I love tea.
History
=======
Normally, if you have a worker writing to standard output every file
processed, you could write something like this::
find -iname '*.ext' > queue.txt
cat queue.txt | worker > done.txt
# here you can interrupt the service at any time (Ctrl-C/SIGTERM)
comm -23 queue.txt done.txt > remaining_queue.txt
But if this is something you want to do again and again, it might be
convenient to write a little wrapper to do it for us. This is how teaqueue is
born.
|