taskscheduler

package module
v0.0.0-...-0d5a6ba Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecAction

type ExecAction struct {
	WorkingDirectory string
	Path             string
	Arguments        string
}

ExecAction is an action defined in a scheduled Task if type IExecAction.

type Task

type Task struct {
	Name        string
	Path        string
	Enabled     bool
	LastRunTime time.Time
	NextRunTime time.Time
	ActionList  []ExecAction // Other actions are ignored, we are only interested in Commandline Actions
}

Task is a task found in Windows Task Scheduler 2.0

func GetTasks

func GetTasks() ([]Task, error)

GetTasks returns a list of all scheduled Tasks in Windows Task Scheduler 2.0

Jump to

Keyboard shortcuts

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