- TIBCO BusinessEvents®
- Standard
- Cluster

# Cluster.createScheduler()

## Signature

`void createScheduler(String schedulerName, long pollInterval, long refreshAhead)`

## Domain

ACTION

## Description

Creates a cluster wide scheduler for time dependent jobs. If the scheduler is created by another node, then the method can be used to overwrite the pollInterval and refreshAhead

## Parameters

Name | Type | Description
--- | --- | ---
`schedulerName` | `String` | A unique id
`pollInterval` | `long` | The time in milliseconds of polling the cache for due entries
`refreshAhead` | `long` | The time in milliseconds that is used to pre-load the entries from the underlying store to the scheduler cache

## Returns

Type | Description
--- | ---
`void` |