Skip to main content

Program Trigger

The Program Trigger runs an external program and reads the DateTime value from the StdOutput stream. You can use this to create a trigger that doesn't exist in Ouvvi so that your projects run when you need. You can write the script in any language for example C#, Python, Go, Node.js etc. The program needs to return a DateTime.

To add a Program trigger select the Program Trigger from the list. Enter in a name for the trigger and set the program to an executable and pass in any parameters needed under the arguments section. Once you are done click Save to create the trigger.

The example in the screen capture below is a small C# program that returns today's date to cause the trigger to fire.

Program Trigger

ParameterValue
ProgramThe path to the external program.
ArgumentsThe conditional arguments to apply.
TimeoutThe time it will take for the request to timeout.