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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
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