Skip to content
/ go-cron Public
forked from djmaze/go-cron

Simple golang wrapper over `github.com/robfig/cron` and `os/exec` as a cron replacement

License

Notifications You must be signed in to change notification settings

by275/go-cron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-cron

Simple golang wrapper over github.com/robfig/cron and os/exec as a cron replacement

Usage

$ go-cron "* * * * * *" /bin/bash -c "echo 1"
new cron: * * * * * *
executing: /bin/bash -c echo 1
1
executing: /bin/bash -c echo 1
1
executing: /bin/bash -c echo 1
1
executing: /bin/bash -c echo 1
1
^C(0x4ed9b0,0x56ebf0)
Stopping
Waiting
Exiting

About

Simple golang wrapper over `github.com/robfig/cron` and `os/exec` as a cron replacement

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%