Gemstone Common Library
Show/Hide TOC

# Schedule(String, String, Boolean) Constructor

Initializes a new instance of the Schedule class.

## Definition

Namespace: Gemstone.Scheduling
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.153 -- Release Build+cfa0f66eec3b78014206cf98a152ef9e72791f21
C#
View Source Request Example

    public Schedule(
    	string name,
    	string rule = "* * * * *",
    	bool useLocalTime = false
    )

VB
View Source Request Example

    Public Sub New (
    	name As String,
    	Optional rule As String = "* * * * *",
    	Optional useLocalTime As Boolean = false
    )

C++
View Source Request Example

    public:
    Schedule(
    	String^ name,
    	String^ rule = L"* * * * *",
    	bool useLocalTime = false
    )

JavaScript
View Source Request Example

    Gemstone.Scheduling.Schedule = function(name, rule, useLocalTime);

#### Parameters

name String
  Name of the schedule.
rule String (Optional)
  Rule formated in UNIX crontab syntax.
useLocalTime Boolean (Optional)
  Flag that determines whether to use local time for schedule.

## See Also

#### Reference

Schedule Class
Schedule Overload
Gemstone.Scheduling Namespace