HTTP JSON Server

Scheduler plugin can be found in Servers tab on the left panel of Designer Section.

Note

Only one server-side plugin can be added on the canvas at a time.

Configuration

In this article:

To configure the plugin:

  1. You can specify the LogLevel.

Adding timer

To add timer:

  1. Click Add Timer.
    New timer will appear (by default 60 seconds Inteval is used).

There are several types of timer:

  1. Interval - scheduler is triggered every n seconds of the interval.
  2. Daily - scheduler is triggered every day in the given Hour and Minute
  3. Weekly - scheduler is triggered weekly on the selected day at the given Hour and Minute
  4. Monthly - scheduler is triggered monthly on the selected months, days at the given Hour and Minute

Tip

You can add multiple types of Timers on the plugin.

Creating template

To create the template:

  1. Click Configuration tab on the plugin.
  2. Expand Advanced tab.
  3. Click Create Template button.
    New window will appear.
  1. Enter PluginName.
    Optionally fill Description, Url, Version and GroupName where the plugin will go.
  2. Click Save and locate the directory where you want to save the plugin.
  3. After that popup window will appear and will suggest you adding the plugin to the left panel of designer section.

Now you have the template of the Scheduler that you can use across the projects.

Example

Here is an example of the project with Scheduler plugin.

Every 5 seconds Scheduler calls Python Script plugin that monitors the folder for pdf files, parse them into JSON and saves in other folders.