A Job Shop Approach to Automation