MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / UpdateTime

Method UpdateTime

internal/repository/sql_job.go:50–52  ·  view source on GitHub ↗

UpdateTime 更新任务的时间

(ctx context.Context, id int64)

Source from the content-addressed store, hash-verified

48
49// UpdateTime 更新任务的时间
50func (c *cronJobRepository) UpdateTime(ctx context.Context, id int64) error {
51 return c.dao.UpdateTime(ctx, id)
52}
53
54// UpdateNextTime 更新任务的下次执行时间
55func (c *cronJobRepository) UpdateNextTime(ctx context.Context, id int64, nextTime time.Time) error {

Callers

nothing calls this directly

Calls 1

UpdateTimeMethod · 0.65

Tested by

no test coverage detected