fix(schedule): allow callback to get called for schedule and interval