Support Board
Date/Time: Mon, 25 Nov 2024 08:51:56 +0000
Call External Program on Alert Not Working
View Count: 887
[2021-05-27 02:33:15] |
Metzenovich - Posts: 10 |
I want to run an external PHP program when an alert gets triggered. I've tried entering these into the field: c:\php\php.exe c:\folder\script.php c:\php\php.exe -f c:\folder\script.php c:\\php\\php.exe c:\\folder\\script.php c:/php/php.exe c:/folder/script.php All of these result in: "Error creating process c:\php\php.exe c:\folder\script.php. Windows error code 2: The system cannot find the file specified. If I run these from the command prompt it works fine: c:\php\php.exe c:\folder\script.php c:\php\php.exe -f c:\folder\script.php What is the right way to format this? Thanks! |
[2021-06-02 20:10:38] |
Metzenovich - Posts: 10 |
I wasn't able to find a solution to this, so I created a C program that does what I need, so I just run the .exe, which needs no arguments. It's faster as well.
|
[2022-01-21 09:23:50] |
Sargon Petros - Posts: 57 |
Hey there, How did you get the calling of the external .exe to work? For some reason regardless of whether I use the full path or not, the program never gets called despite the alert condition being met. |
[2022-01-21 17:00:04] |
Sierra Chart Engineering - Posts: 104368 |
Check the Window >> Message Log in Sierra Chart at the time you expect the program to be run. You will see a line indicating the program being run and there will be an error message shown.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2022-01-21 17:23:19
|
[2022-02-03 16:20:42] |
Sierra_Chart Engineering - Posts: 17172 |
We have implemented a solution to post #3. Update to the latest prerelease: Software Download: Fast Update Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-03-13 04:25:16] |
user_xyz - Posts: 416 |
I'm running the latest version of SC and trying to debug running program on alert. I am not seeing any lines regarding the alert in Message Log. The alert fires, alert manager window shows the alert, I hear the audio message and see the cme.exe window flash open but nothing is showing up in Message Log. Did something change? Check the Window >> Message Log in Sierra Chart at the time you expect the program to be run. You will see a line indicating the program being run and there will be an error message shown.
|
[2024-03-13 04:37:48] |
Sierra_Chart Engineering - Posts: 17172 |
We checked and there is no Message Log message for this. We will add this to the next release. We will also implement support to show the error message.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-03-15 14:55:32] |
user_xyz - Posts: 416 |
I downloaded the latest release and don't see anything in the logs yet has it been added?
Date Time Of Last Edit: 2024-03-16 08:29:54
|
To post a message in this thread, you need to log in with your Sierra Chart account: