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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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