scheduler

package
v0.0.0-...-f93cf1c Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schedule

type Schedule struct {
	Schedule    string
	RelayModule relay.RelayModule
	Token       string
	Local       bool
	WittyPi     bool
	// contains filtered or unexported fields
}

func (*Schedule) LocalRunBusy

func (s *Schedule) LocalRunBusy() bool

func (*Schedule) SetLocalRunLock

func (s *Schedule) SetLocalRunLock()

func (*Schedule) Shutdown

func (s *Schedule) Shutdown()

Returns true if a shutdown is useful, false if it doesn't make sense (that might be because the next scheduled startup is already in the next 120 seconds)

func (*Schedule) Start

func (s *Schedule) Start(killswitch chan bool)

func (*Schedule) UnSetLocalRunLock

func (s *Schedule) UnSetLocalRunLock()

Jump to

Keyboard shortcuts

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