Skip to content

danielb42/goat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

goat

Tag Go Version PkgGoDev Go Report Card License: MIT

Golang connector for at(1).

Schedule external command executions, powered by the at(1)-utility:

// let /hello/world.sh be run at <execTime>
execTime := time.Date(<in the future>)
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.