package seo import "git.golem15.com/golem15/summercms/modules/pact" // Schedule runs seo:crawl --scheduled every night at 02:30 app time // (P33-40): the command does nothing while the Site audit setting // crawl_schedule is off, and runs a weekly schedule on Mondays only. func (p *Plugin) Schedule() []pact.ScheduledCommand { return []pact.ScheduledCommand{ {Command: "seo:crawl", Args: []string{"--scheduled"}, Cadence: pact.DailyAt(2, 30)}, } } var _ pact.HasSchedule = (*Plugin)(nil)