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)
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.