Added support for repeating jobs