Prototype code for working with job scheduler