From e027d759b4d87854ca2168a34af9669a3bb5d689 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 19 Jun 2020 16:44:44 +0200 Subject: [PATCH] test --- cron.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }