MCPcopy Create free account
hub / github.com/DoNewsCode/core / CronModule

Struct CronModule

leader/example_cronjob_test.go:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type CronModule struct {
16 Sts *leader.Status
17}
18
19func (s CronModule) ProvideCron(crontab *cron.Cron) {
20 crontab.AddFunc("* * * * * *", func() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected