Documentation ¶
Index ¶
Constants ¶
View Source
const JOBS_TABLE_NAME = "jobs"
View Source
const USERS_TABLE_NAME = "users"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { ID int `json:"id"` Name string `json:"name"` DisplayName string `json:"display_name"` Timezone string `json:"timezone"` Schedule string `json:"schedule"` Owner int `json:"owner"` SuccessCount int `json:"success_count"` ErrorCount int `json:"error_count"` LastSuccess time.Time `json:"last_success"` LastError time.Time `json:"last_error"` Disabled isset.Bool `json:"disabled"` Retries int `json:"retries"` Concurrency string `json:"concurency"` Status string `json:"status"` Next time.Time `json:"next"` Ephemeral isset.Bool `json:"ephemeral"` ExpiresAt time.Time `json:"expires_at"` WebHook WebHook `json:"webhook"` Agent Agent `json:"agent"` Type string `json:"type"` }
Job is a cron job
type KronG ¶
func (*KronG) SignalHandler ¶
func (*KronG) StartServer ¶
func (k *KronG) StartServer()
Click to show internal directories.
Click to hide internal directories.