go-cron

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 8 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL