---
title: "Discussion on \"robfig/cron(a cron library for go)\" | Hashnode"
description: "Discussion on \"robfig/cron(a cron library for go)\". use like linux crontab\nfor golang\nlink\n\nThe demo code\npackage main\n\nimport (\n    \"github.com/robfig/cron/v3\"\n    \"log\"\n)\n\nfunc main() {\n\n    // use WithSeconds to alow seconds,default not\n    c := cron.New(cron.WithSeconds())\n\n    _, err := c.AddFunc..."
url: "https://hashnode.com/posts/cron-job/62b43d0fb86f939ac81af9c2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [robfig/cron(a cron library for go)](https://joengtou.hashnode.dev/cron-job?utm_source=hashnode&utm_medium=feed)

use like linux crontab for golang link The demo code package main import ( "github.com/robfig/cron/v3" "log" ) func main() { // use WithSeconds to alow seconds,default not c := cron.New(cron.WithSeconds()) \_, err := c.AddFunc...

Jun 23, 2022 · 2 min read · joengtou.hashnode.dev  
Read the article

-   [#job](https://hashnode.com/tag/job)

## Written by

[joengtou](https://hashnode.com/@joengtou)

@joengtou

  
[View profile](https://hashnode.com/@joengtou)

Golang Development Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
