How to Run a channel at a specified time

This is a question which comes up from time to time. Usually the motivation is to pick up a file generated via a batch process or something similar.

The recommended solution is to use the scheduler.lua module.

However If you want to “roll your own” solution the general principle is:

  • Set up a From Translator channel instance.
  • Poll every say 5 minutes.
  • Use the Lua os library to find the current time and decide if it’s time to run the rest of the script or not.

Note: The throttling example shows usage of the os API.

If you need more help contact support at support@interfaceware.com.

Leave A Comment?