Zoneminder:发出警报事件时发送短信

时间:2010-12-09 16:30:44

标签: linux

我已经安装了Zoneminder,并通过usbserial模块连接了一部手机(和gammu我可以发送短信)。我想在Zoneminder发出警报时发送短信。我已经创建了一个名为sendsms.sh的简单脚本(并经过测试),使用gammu,在调用时发送短信。我该怎么办?

1 个答案:

答案 0 :(得分:0)

有点难找,但FAQ has an example to trigger some other program。您可以使用某个程序调用替换# Do your stuff here,例如类似的东西:

exec('sendsms.bat');

另见Perl's documentation for exec()

相关问题