Categorygithub.com/by275/go-cron
repositorypackage
0.0.6
Repository: https://github.com/by275/go-cron.git
Documentation: pkg.go.dev

# README

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