add scheduler listener example