/goat

Golang connector for at(1)

Primary LanguageGoMIT LicenseMIT

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.