You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
430 B
21 lines
430 B
2 years ago
|
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
|
||
|
}
|