[App_rpt-users] Scheduler question
Stephen Rodgers
sales at qrvc.com
Mon Mar 8 15:18:55 UTC 2010
Chuck Kraly wrote:
> 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
>
> 1 = 15 6,13,19 * * * ; at 6:15,13:15, execute macro 1.
>
>
> 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)
>
>
> Off list answers welcomed......
>
>
> Chuck K0XM
>
> 27064, 27077, 27078
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users
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.
Steve
WA6ZFT
More information about the App_rpt-users
mailing list