fix(task/cron): use the correct pointer to build structure

feat(init): included enviroment variable and working directory
test(cron): wip
This commit is contained in:
2024-03-29 11:30:36 +00:00
parent f2bfd6e60b
commit 3bdca8c540
8 changed files with 85 additions and 21 deletions
+1
View File
@@ -25,6 +25,7 @@ type Task interface {
Name() string
Command() string
Arguments() []string
EnvLen() int
Environ() []string
Setsid() bool
UserGroup() UserGroup