Re: [App_rpt-users] Schedule and Macro question
The macros in app_rpt are very limited. You would need to put one line for each day. Or do it from the centos cron. Much easier. Do a crontab -e and append the following: 0 20 * * 1-5 /usr/sbin/asterisk -rx "rpt fun 28052 *327597" 0 22 * * 1-5 /usr/sbin/asterisk -rx "rpt fun 28052 *71" From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Shaun Rudling Sent: Sunday, December 04, 2011 7:49 PM To: app_rpt-users@ohnosec.org Subject: [App_rpt-users] Schedule and Makro question I would like to automatically connect to AllStar node 27597 every night at 20:00 to 22:00 (local time) and then automatically disconnect. But only Monday to Friday. Not Sat and Sun. Am I on the right track here .................... ? [schedule28052] ;dtmf_function = m h dom mon dow ; ala cron, star is implied 7 = 0 * * * * 8 = 0 20 * mon,tue,wed,thu,fri * 9 = 0 22 * mon,tue,wed,thu,fri * ; Place command macros here [macro28052] 7 = *81# 8 = *327597 9 = *71 I do hear the time announcement every hour on the hour so that part is working. BTW, what is the "#" for after the *81 Shaun zr5s
participants (1)
-
Scott Weis