CakeAliases.

SetScheduledTaskEnabled(ICakeContext, string, bool) Method

Assembly
Cake.ScheduledTasks.dll
Namespace
Cake.ScheduledTasks
Containing Type
CakeAliases

Syntax

public static void SetScheduledTaskEnabled(this ICakeContext context, string taskName, bool enabled = true)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext
taskName string
enabled bool

Return Value

Type Description
void