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

Struct NewCronModule

serve_test.go:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75type NewCronModule struct {
76 CanRun uint32
77}
78
79func (module *NewCronModule) ProvideCron(crontab *cron.Cron) {
80 crontab.Add("* * * * * *", func(ctx context.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected