Scheduler script: running a program

Are there any examples of using the scheduler script to run a program (no modules associated)?

I tried:
$$.program.run(‘myProgram’);

Where myProgram is the name of a C# program I created.

Thanks :slight_smile:

This is what I use. Must have quotes and the program number. I’m not sure if the name can be used.

$$.program.run(“1007”);

1 Like

Thanks - It works to use the name too! I had a camel case typo.
Example that works:

$$.program.run(‘programName’);

Oh this is GOOD!!! Thank you for asking and answering this!!!

Although I’m pleased to know the name works I advise against it if you can. You can change the program’s name anytime but the program number stays the same.

HI Claton, do you advise a different way to trigger a program with the scheduler then?

Just as I show in my previous post above using the program number.