Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Schedule string `json:"schedule"`
Prompt string `json:"prompt"`
Skills []string `json:"skills,omitempty"`
Platform string `json:"platform,omitempty"`
Enabled bool `json:"enabled"`
NoAgent bool `json:"no_agent"` // Skip agent, run script directly
Script string `json:"script"` // Script/command for no_agent mode
NextRun *time.Time `json:"next_run,omitempty"`
LastRun *time.Time `json:"last_run,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetDueJobs ¶
Click to show internal directories.
Click to hide internal directories.