Currently we have some license issues. We are working on it.

Commit 18fc3f7f authored by zauberstuhl's avatar zauberstuhl
Browse files

Fix run workers hourly

parent 111ba1ac
......@@ -31,7 +31,7 @@ func init() {
if viper.GetBool("worker") {
log.Print("Start cronjobs..")
cronjob := cron.New()
cronjob.AddFunc("@every 1m", cronHandler)
cronjob.AddFunc("@hourly", cronHandler)
cronjob.Start()
} else {
log.Print("[WARNING] Skipping workers!!")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment