shell
pip install simpleq
python
from simpleq import Simpleq
ini
[queue]
tasks = task1, task2, task3
concurrency = 2
[task1]
command = python script1.py
timeout = 60
[task2]
command = python script2.py
timeout = 120
[task3]
command = python script3.py
timeout = 180
python
queue = Simpleq('config.ini')
python
queue.execute()