github.com/mmatczuk/gohan@v0.0.0-20170206152520-30e45d9bdb69/examples/cron_example/README.md (about)

     1  CRON Job example
     2  ------------------
     3  
     4  In this example, we show how we can
     5  execute extension pediorically.
     6  
     7  CRON depends on etcd for distributed locks,
     8  so you need to configure etcd for Gohan.
     9  
    10  ``` yaml
    11  cron:
    12      - path: cron://cron_job_sample
    13        timing: "*/5 * * * * *"
    14  
    15  etcd:
    16      - http://127.0.0.1:2379
    17  ```
    18  
    19  In extension, you need to specify path which maches specified in the config file.