https://github.com/danielb42/goat
Golang connector for at(1)
https://github.com/danielb42/goat
at command golang schedule
Last synced: 5 months ago
JSON representation
Golang connector for at(1)
- Host: GitHub
- URL: https://github.com/danielb42/goat
- Owner: danielb42
- License: mit
- Created: 2019-02-06T00:24:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-04T22:27:15.000Z (over 5 years ago)
- Last Synced: 2023-08-11T22:32:18.796Z (almost 3 years ago)
- Topics: at, command, golang, schedule
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goat


[](https://pkg.go.dev/github.com/danielb42/goat)
[](https://goreportcard.com/report/github.com/danielb42/goat)
[](https://opensource.org/licenses/MIT)
Golang connector for `at(1)`.
Schedule external command executions, powered by the `at(1)`-utility:
```golang
// let /hello/world.sh be run at
execTime := time.Date()
jobID, err := at.AddJob("/hello/world.sh", execTime)
// changed your mind?
at.RemoveJob(jobID)
```
## Prerequisites
`at(1)` must be present on your system. If it's not, try `apt install at` or `yum install at` or `pacman -S at` or `apk add at` according to your linux flavor.