Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Auth = goexec.AuthConstructors()
Auth exposes Task Scheduler authentication constructors.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a GoExec-backed Task Scheduler execution client.
func (*Client) Create ¶
func (c *Client) Create(taskName string, executable string, args string, opts interface{}) map[string]interface{}
Create registers a scheduled task and starts it according to GoExec defaults.
func (*Client) Demand ¶
func (c *Client) Demand(taskName string, executable string, args string, opts interface{}) map[string]interface{}
Demand registers and demand-runs a temporary scheduled task.
func (*Client) SetOptions ¶
func (c *Client) SetOptions(opts interface{})
SetOptions updates default execution options for future client calls.
Click to show internal directories.
Click to hide internal directories.