mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 05:17:30 +08:00
Update docs for periodic tasks feature
This commit is contained in:
@@ -126,7 +126,7 @@ func (j *enqueueJob) Run() {
|
||||
}
|
||||
}
|
||||
|
||||
// Register registers a task to be enqueued with given schedule specified by the cronspec.
|
||||
// Register registers a task to be enqueued on the given schedule specified by the cronspec.
|
||||
// It returns an ID of the newly registered entry.
|
||||
func (s *Scheduler) Register(cronspec string, task *Task, opts ...Option) (entryID string, err error) {
|
||||
job := &enqueueJob{
|
||||
|
Reference in New Issue
Block a user