24 hours delay
This commit is contained in:
parent
6154e95d32
commit
2a1ce7123e
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ func main() {
|
||||||
sched.Schedule(func(ctx context.Context) {
|
sched.Schedule(func(ctx context.Context) {
|
||||||
log.Printf("Running scheduled scrape for page offset: %d", page)
|
log.Printf("Running scheduled scrape for page offset: %d", page)
|
||||||
Work(ctx)(page, googleLinkStream)
|
Work(ctx)(page, googleLinkStream)
|
||||||
}).Every(time.Minute * 1)
|
}).Every(time.Hour * 24)
|
||||||
}
|
}
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue