Ok guys,
I got the weather scripts running on 27078. I can command a manual voice report via DTMF. What i am having problems with is getting the scheduler to play the daily report at 6am and 1pm local time. I have the cron set up ok to run the update scripts, and like I said touch toning them manually is no problem.
What I have done so far:
in rpt.conf,
[macro]
1 = *94#
;
; Scheduler - execute a macro at a given time
;
[schedule]
;dtmf_function = m h dom mon dow ; ala cron, star is implied
What am I missing here (notice i tried to set the times for 6:15, 13:15, and 19:15 daily.
Also I know I saw it in the archives ( but cannot seem to run across it again- if I make changes to rpt.conf or some other file, what is the command to reload that file so asterisk sees the changes? Or do i have to reboot the machine (like I have been doing)
Ok guys,
I got the weather scripts running on 27078. I can command a manual voice
report via DTMF. What i am having problems with is getting the scheduler to
play the daily report at 6am and 1pm local time. I have the cron set up ok
to run the update scripts, and like I said touch toning them manually is no
problem.
What I have done so far:
in rpt.conf,
[macro]
1 = *94#
;
; Scheduler - execute a macro at a given time
;
[schedule]
;dtmf_function = m h dom mon dow ; ala cron, star is implied
What am I missing here (notice i tried to set the times for 6:15, 13:15, and
19:15 daily.
Also I know I saw it in the archives ( but cannot seem to run across it
again- if I make changes to rpt.conf or some other file, what is the command
to reload that file so asterisk sees the changes? Or do i have to reboot the
machine (like I have been doing)
It is a very basic implementation of the cron format. It doesn't support commas for multiple times. Use 3 separate lines
pointing to the same macro and it should work fine.