Added possibility to specify repetition pattern for scheduler apps.