tsch

package
v3.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2026 License: MIT, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Auth exposes Task Scheduler authentication constructors.

Functions

func NewClient

func NewClient(call goja.ConstructorCall, runtime *goja.Runtime) *goja.Object

NewClient constructs a Task Scheduler client.

Constructor: constructor(target: string, auth: any)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL