---
title: "Configuration of Simple Scheduler"
canonical: "https://docs.cuesystem.com/space/CVCAPPLETS/439779423/Configuration%20of%20Simple%20Scheduler"
format: markdown
---
At first, you have to add SimpleScheduler to your resources. Go to MyProject Resources to the Applet collections tab, right click on the free area and select Insert. Choose file CUE_SimpleScheduler_x.xx.cvcl and click on Open button. Recommended path for storing of the applets is : “DEFAULT_FILE_LOCATIONS\Cue Visual Composer\User Applets”

Now you can create an instance of SimpleScheduler in your project. Open MyProject Instances window, select CUEunit, where the instance will be created (Touchpanel1 in example) and select Applets section. Drag and drop SimpleScheduler from resources to the CUEunit Applets tab. Instance of the applet will be created (SimpleScheduler1 in the example). You can the change name of the instance to the desired value in the Properties section.

![image](media://f522bd91-af31-41c4-9c33-500eb92c4182)

You can configure an instance of the the SimpleScheduler in two ways (or their combinations):

- By filling the properties of SimpleScheduler applet instance while programming

- By API commands in runtime

# SimpleScheduler Behavior Group of Properties

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| SchedulerEnabled | Boolean | Any | True | Enables or disables at the start of program |

![image](media://9ad3954c-7820-4259-89aa-23a8a1e4052c)

# SimpleScheduler Event 1 - 10 Group of Properties

Each from possible 10 events has own properties group.

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Enabled | Boolean | Any | False | Enables or disables generation of event X |
| Name | AddressOf Text | Any | txtEventX = “EventX” in default language | Address of event X description text |
| Period | Time | Any positive | 1:0.0 | Period of event generation. See Note1 and Note 2 |
| StartTime | Time | Any | #01/01/2010 00:00:00# | Time of the first occurrence of the event |

> 📝 Note 1
> 📝 
> 📝 Minimum period and precision of the period is 1 minute. Events are generated at the start of every minute

> 📝 Note 2
> 📝 
> 📝 Daylight saving time behavior is the following:
> 📝 
> 📝 - Events with period smaller then two hours are generated with this period independent of summer or winter time. For example, events with a period of 5 minute will be generated every five minutes even in case that also in case, that daylight saving time shift is performed.
> 📝 
> 📝 - Events with period longer or equal to2 hours will be performed at a fixed time of the day. For example, an event with period of one day generated every day at midnight will be generated every midnight of the local time (on a day where daylight saving time shift occurs , the period will be increased or decreased by daylight saving time shift).