diff --git a/cron.go b/cron.go index a1d0e79..7b9a8c4 100644 --- a/cron.go +++ b/cron.go @@ -177,7 +177,7 @@ func cronAutoDeposit() { } b, _ := json.Marshal(p) t := time.Now().UTC() - t.Add(time.Duration(RndIntn(300))) + t.Add(time.Duration(RndIntn(300)) * time.Second) _, err := createJob(cacheObjSubType[`job_gdeposit`], objJobPriority, c.TGUserID64, 0, t, b) logOnError(err, "cronAutoDeposit : createJob") }