返回列表 發帖
Only reboot not work? How about the email?

TOP

Try to specify the full path for the asterisk (i.e. /usr/sbin/asterisk) to see if it make any difference.

TOP

本帖最後由 ttmuskie 於 2017-10-20 09:40 編輯

I put this under my "sudo crontab -e":
  1. */5  *      *        *   *  /usr/sbin/asterisk -rx "dongle show devices" | grep Free | grep dongle0 | tee /tmp/tbd.txt
複製代碼
And the result:
  1. cat /tmp/tbd.txt
  2. dongle0      0     Free       8    0    0       PCCW-HKT       E180       11.126.13.00.380  354241028919407  454196220366839  Unknown
複製代碼

TOP

返回列表