cron

package
v0.0.0-...-d69b078 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCron

func NewCron() engine.Action

NewCron returns a new cron object

func RegisterAction

func RegisterAction()

RegisterAction registers this action with the engine

Types

type Cron

type Cron struct {
}

Cron object

func (*Cron) Add

func (c *Cron) Add() error

Add things

func (*Cron) Remove

func (c *Cron) Remove() error

Remove things

func (*Cron) RemoveAll

func (c *Cron) RemoveAll() error

RemoveAll things

func (*Cron) Setup

func (c *Cron) Setup(eng *engine.Engine, cfg engine.Config) error

Setup ...

func (*Cron) Start

func (c *Cron) Start() error

Start the cron runner

func (*Cron) Stop

func (c *Cron) Stop() error

Stop the cron runner

Jump to

Keyboard shortcuts

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