schedule run only after processed all sample