# File lib/puppet/type.rb, line 1755
1755:     def scheduled?
1756:         return true if Puppet[:ignoreschedules]
1757:         return true unless schedule = self.schedule
1758: 
1759:         # We use 'checked' here instead of 'synced' because otherwise we'll
1760:         # end up checking most resources most times, because they will generally
1761:         # have been synced a long time ago (e.g., a file only gets updated
1762:         # once a month on the server and its schedule is daily; the last sync time
1763:         # will have been a month ago, so we'd end up checking every run).
1764:         return schedule.match?(self.cached(:checked).to_i)
1765:     end