跳到主要内容
版本:v2

Scan modes

Scan modes are Cron defined and used in OIBus to retrieve data at specific dates and interval from South connectors.

Four default scan modes are defined:

  • everySecond
  • every10Seconds
  • every1Minute
  • every10Minutes

You can define your own scan modes by adding one, giving it a name and selecting the every option. Then, select the interval and the unit (msec, sec, minute, hour, day, week, month, year).

Under the hood, OIBus transforms these intervals into Cron. So naturally, Cron can be used to tune scan modes. To do so, switch the every option to custom, and type your Cron.

Specific cron syntax

The Cron in OIBus supports milliseconds cron, but with a reverse order:

<year> <month> <day> <hour> <minute> <second> <millisecond>