randomize periodic tasks