go-taskrem/tasks.go
2022-09-05 22:24:44 +01:00

21 lines
430 B
Go

package main
// TODO: Finish off doc. here
/*
Task:
Each 'task' will have a name, desc. time between reminder and a cmd
The 'CMD' will take shell script such as e.g.
$ checkupdates | wc -l
and store the output as a string to use in the desc.
If the 'CMD' is empty, we will just put a new line (maybe change this)
*/
type Task struct {
TaskName string
TaskDesc string
Interval int32
CMD string
Icon string
}