Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
type
CronModule
struct
{
16
Sts *leader.Status
17
}
18
19
func
(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