alexbn71 / AgentDVR-Telegram

A PHP script to send alerts to your Telegram bot with the free version of AgentDVR
9 stars 0 forks source link

file cannot be found #5

Open spudnvrgmail opened 5 months ago

spudnvrgmail commented 5 months ago

Gday ,

after installing and then activating a manual alert , nothing happens

checking the log it says it cannot find the file as below

19:15:27 RunScript: /bin/bash -c "C:\Program Files\Agent\Commands\telegram_sendphoto.sh 1 'Manual Alert' 19:15:28 ProcessAlertEvent: The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at CoreLogic.Utilities.Helper.RunScript(String filename, String args, Boolean noWindow) at CoreLogic.Objects.Helpers.AlertProcessor.d__7.MoveNext()

my install directory is \agent\ and the files in the commands folder

am i missing something ?

thanks!

jmvl commented 3 months ago

It's case sensitive, try to edit the sh file and replace Agent with agent