---
title: "Programming of Simple Scheduler"
canonical: "https://docs.cuesystem.com/space/CVCAPPLETS/440401928/Programming%20of%20Simple%20Scheduler"
format: markdown
---
SimpleScheduler applet automatically generates ten process events OnEvent1 - OnEvent10. You can place desired commands to processes linked with these events. You can create a process linked to an event by the standard “Right Click” way (see picture below).

#### Example

```visualbasic
Private Process SimpleScheduler1_OnEvent1( ) Link SimpleScheduler1.OnEvent1
  DebugPrint ("Event 1")
End Process
```

In this example, the text “Event1” will be printed to debug the window every 5 minutes