aboutsummaryrefslogtreecommitdiff
path: root/types/task_manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'types/task_manager.go')
-rw-r--r--types/task_manager.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/types/task_manager.go b/types/task_manager.go
deleted file mode 100644
index 9ce6e56..0000000
--- a/types/task_manager.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package types
-
-import (
- "time"
-)
-
-type Task struct {
- Name string
- Interval time.Duration
- Execute func() error
- LastRun time.Time
- Dependencies []string // List of task names that must complete before this task runs
-}
-
-type TaskStatus struct {
- Registered bool
- Running bool
- LastRun *time.Time
- NextRun *time.Time
-}