package sitemap import "git.golem15.com/golem15/summercms/modules/pact" // Schedule runs sitemap:rebuild every night at 03:00 (app timezone), so // the files follow content that changed without a record event. func (p *Plugin) Schedule() []pact.ScheduledCommand { return []pact.ScheduledCommand{{Command: "sitemap:rebuild", Cadence: pact.DailyAt(3, 0)}} } var _ pact.HasSchedule = (*Plugin)(nil)