Table of Contents

Constructor CycleAttribute

Namespace
Pillars.Schedules.Models
Assembly
Pillars.dll

CycleAttribute(CYCLE, uint, bool, CATCHUP, bool)

Defines a cyclic method with a given id and some creation flags. Use this if you want to run something every 2 hours and don't care about the WHEN.

If the WHEN is important, use a Schedule!

public CycleAttribute(CYCLE id, uint cycleTimeInMinutes, bool triggerOnCreate = false, CATCHUP historyCatchup = CATCHUP.NEVER, bool resetElapsedOnStart = true)

Parameters

id CYCLE
cycleTimeInMinutes uint

The cycle time in minutes

triggerOnCreate bool

If the cycle is new (no history) it will be triggered on start

historyCatchup CATCHUP

How the history should be handled

resetElapsedOnStart bool

If set, resets the elapsed minutes on start

Remarks

Only allows for 2 or more Minutes !