Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

gotoxu/at

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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

package main

import (
	"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 {}
}

About

A at library for Go, simulate the linux 'at' command

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages