A simple job scheduler