# File lib/puppet/transaction/resource_harness.rb, line 157
157:   def scheduled?(status, resource)
158:     return true if Puppet[:ignoreschedules]
159:     return true unless schedule = schedule(resource)
160: 
161:     # We use 'checked' here instead of 'synced' because otherwise we'll
162:     # end up checking most resources most times, because they will generally
163:     # have been synced a long time ago (e.g., a file only gets updated
164:     # once a month on the server and its schedule is daily; the last sync time
165:     # will have been a month ago, so we'd end up checking every run).
166:     schedule.match?(cached(resource, :checked).to_i)
167:   end