MCPcopy
hub / github.com/usememos/memos / Run

Method Run

internal/cron/cron.go:36–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34// Job is an interface for submitted cron jobs.
35type Job interface {
36 Run()
37}
38
39// Schedule describes a job's duty cycle.

Callers 15

GetMySQLDSNFunction · 0.65
GetPostgresDSNFunction · 0.65
TestMainFunction · 0.65
runAllDriversFunction · 0.65
TestParseCronExpressionFunction · 0.65
TestScheduleNextFunction · 0.65
TestJobValidationFunction · 0.65
TestValidateContentFunction · 0.65
TestGenerateSnippetFunction · 0.65

Implementers 5

countJobinternal/cron/chain_test.go
Croninternal/cron/cron.go
DummyJobinternal/cron/cron_test.go
testJobinternal/cron/cron_test.go
Runnerserver/runner/s3presign/runner.go

Calls

no outgoing calls

Tested by 15

TestMainFunction · 0.52
runAllDriversFunction · 0.52
TestParseCronExpressionFunction · 0.52
TestScheduleNextFunction · 0.52
TestJobValidationFunction · 0.52
TestValidateContentFunction · 0.52
TestGenerateSnippetFunction · 0.52
TestExtractPropertiesFunction · 0.52
TestExtractAllTitleFunction · 0.52