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.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
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