Add sample usage of a scheduler