On 08/01/2013 12:38 PM, Bryan D. Boyle wrote:
read a msg i sent last night...it's in there as one of my examples...
Hello everyone, How do I setup my node to say time every hour. I'm using Acid on a neoware ca22. And where should I put it? N5zua sit this up for me a few years ago. So, seems to me, I need to to know the system and play with it.
I've been wanting to do the same, but didn't really want the silly thing screaming the time all night long so, cron to the rescue! root@w5omr> crontab -e 0 6-22 * * 1-5 /usr/sbin/asterisk -rx "rpt fun 29655 *81" 0 8-22 * * 0,6 /usr/sbin/asterisk -rx "rpt fun 29655 *81" The first is to chime the hour, starting at 6am, and ending at 10pm, Mon - Fri. Weekends, we sleep in... start at 8am, end at 10pm, Saturday and Sunday. At least, that's -one- way of doing it. I'm sure it was you, Bryan, I have to thank for posting that commands could be passed to a running session of asterisk. That's when the light went off. Cron to the rescue ;-) This is useful also, if you want to setup times to link to specific nodes, at a specific time. Figure out the schedule and cron it. Here's a good link if some system operators would like to know about cron http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/ 73 = Best Regards, -Geoff/W5OMR