https://github.com/gotoxu/at
A at library for Go, simulate the linux 'at' command
https://github.com/gotoxu/at
at go golang linux
Last synced: 4 months ago
JSON representation
A at library for Go, simulate the linux 'at' command
- Host: GitHub
- URL: https://github.com/gotoxu/at
- Owner: gotoxu
- License: mit
- Created: 2017-08-21T14:02:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T09:27:36.000Z (about 7 years ago)
- Last Synced: 2025-02-26T13:15:40.272Z (7 months ago)
- Topics: at, go, golang, linux
- Language: Go
- Size: 56.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/gotoxu/at)
# At
A at library for Go, simulate the linux 'at' command. The at command is used to schedule a one-time task at a specific time## Example
```Go
package mainimport (
"fmt"
"time""github.com/Jamesxql/at"
)func main() {
at := at.New()
at.AddFunc(time.Now().Add(5*time.Minute), func() {
fmt.Println("Hello world!")
})at.Start()
select {}
}
```