You
can use the [schedule] stanza
Example
[schedule]
;dtmf_function = m h
dom mon dow ; ala cron, star is
implied
1 = 00 05 * * * ;
announce the time
1 = 00 06 * * * ;
announce the time
1 = 00 07 * * * ;
announce the time
1 = 00 08 * * * ;
announce the time
2 = 00 12 * * * ;
westminster chime
1 = 00 17 * * * ;
announce the time
1 = 00 18 * * * ;
announce the time
I
found that this syntax seems to work with macro’s, not functions, despite the
comment that “came with”
You
can also use a cron job by calling “asterisk –rx” function
Example
– here I use a script
[root@atom2
~]# crontab -l
59
08 * * 6 /usr/local/sbin/do_newsline.sh
(etc)
Here is part
of the script do_newsline.sh
. . .