title: Is celery beat framework in go?
body: <p>My situation:<br />
  My project receive a crontab task config yaml like this:</p>
  <pre class="lang-yaml prettyprint-override"><code>name: run_every_10_minutes
  crontab: */10 * * * *
  function: xxx # my crontab function
  </code></pre>
  <p>and the project recognize this task is to be executed every 10 minutes, submit it to celerybeat, and beat triggers xxx function every 10 minutes.</p>
  <p>this is easy way in python <code>celerybeat</code>, and i found go cron framework: <a href="https://github.com/robfig/cron" rel="nofollow noreferrer">cron(github)</a>.</p>
  <p>but i use go cron framework, I can't scale projects replicas because each project reads cronTab from the datasource, so there are multiple projects trigger at the same time.
  the code like this:</p>
  <pre class="lang-golang prettyprint-override"><code>package main
  
  import (
    &quot;fmt&quot;
    &quot;time&quot;
  
    &quot;github.com/robfig/cron/v3&quot;
  )
  
  func main() {
    c := cron.New()
    crontab = readFromDB() 
  
    c.AddFunc(crontab, func() { // if scale 2 replicas, each project has this code, so trigger at same time
      fmt.Println(&quot;tick every 10 second&quot;)
    })
  
    c.Start()
  }
  </code></pre>
  <p>is celerybeat in go?? or how i implement beat by simple way</p>