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.177 -- Release Build+17e3a8c30c12a6a5a57ad4af156d7b83be281c33
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