Skip to content

Commit

Permalink
more readme
Browse files Browse the repository at this point in the history
  • Loading branch information
crispyDyne committed Jul 29, 2020
1 parent 07956a9 commit d039637
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@

## rq-manager
Manage rq jobs with multiple or tree-like dependancy.

Create a "project", which is a tree of jobs, then give it to the "manager" to complete it!
Create a "project" dictionary that contains an array of jobs.
```python
project = {'jobs':[
{'func':simpleTask,'args': 1},
{'func':simpleTask,'args': 2}]
}
```
Then give it to the "manager" to complete it!

```python
q = Queue()
Expand Down

0 comments on commit d039637

Please sign in to comment.