Add argument parsing to jobd.
Add restriction to configured queues in jobd.work().