Your crontab thinks your script is located in /root. Your script is located in /etc/asterisk/scripts/####. you need to add the complete directory for the crontab to locate the script. AB3AA Brian On Jan 24, 2017 9:50 PM, <app_rpt-users-request@lists.allstarlink.org> wrote: Send App_rpt-users mailing list submissions to app_rpt-users@lists.allstarlink.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users or, via email, send a message with subject or body 'help' to app_rpt-users-request@lists.allstarlink.org You can reach the person managing the list at app_rpt-users-owner@lists.allstarlink.org When replying, please edit your Subject line so it is more specific than "Re: Contents of App_rpt-users digest..." Today's Topics: 1. testing (Bryan Fields) 2. testing ohnosec (Bryan Fields) 3. test (Steve Zingman) 4. Test (Steve Zingman) 5. crontab schedule repeater announcements (DuaneVT .) 6. Re: crontab schedule repeater announcements (Apu) ---------------------------------------------------------------------- Message: 1 Date: Tue, 24 Jan 2017 18:45:54 -0500 From: Bryan Fields <Bryan@bryanfields.net> To: app_rpt-users@lists.allstarlink.org Subject: [App_rpt-users] testing Message-ID: <17c773f2-cfea-506e-5a81-8e2bf9131fee@bryanfields.net> Content-Type: text/plain; charset=windows-1252 please ignore -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net ------------------------------ Message: 2 Date: Tue, 24 Jan 2017 20:03:46 -0500 From: Bryan Fields <Bryan@bryanfields.net> To: APP RPT <app_rpt-users@ohnosec.org> Subject: [App_rpt-users] testing ohnosec Message-ID: <53004182-6858-0f7a-a123-721a86aebdae@bryanfields.net> Content-Type: text/plain; charset=utf-8 ignore please -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net ------------------------------ Message: 3 Date: Tue, 24 Jan 2017 20:33:09 -0500 From: Steve Zingman <szingman@msgstor.com> To: "app_rpt-users@ohnosec.org" <app_rpt-users@ohnosec.org> Subject: [App_rpt-users] test Message-ID: <15c33849-4f11-a047-abfb-5bd144768140@msgstor.com> Content-Type: text/plain; charset=utf-8; format=flowed Please ignore -- "Real programmers us vi, that's why I use nano" ------------------------------ Message: 4 Date: Tue, 24 Jan 2017 20:35:15 -0500 From: Steve Zingman <szingman@msgstor.com> To: app_rpt-users@lists.allstarlink.org Subject: [App_rpt-users] Test Message-ID: <3ca0a459-09c2-1dfb-966c-fb8002aa78bc@msgstor.com> Content-Type: text/plain; charset=utf-8; format=flowed Please ignore -- "Real programmers us vi, that's why I use nano" ------------------------------ Message: 5 Date: Tue, 24 Jan 2017 21:41:24 -0500 From: "DuaneVT ." <selkie2@comcast.net> To: app_rpt-users@ohnosec.org Subject: [App_rpt-users] crontab schedule repeater announcements Message-ID: <CABhxdJn3xJpyqVrSYsuYYKi8mcrX+U=U+fz4M1ANmdwwKGdvRA@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I am having trouble getting crontab to schedule playing repeater announcements. I have successfully recorded IAX speech to "prompt01.gsm". I created a script /etc/asterisk/scripts/announcements01.sh. #!/bin/bash # Script plays prompt01 audio files over local node (repeater) PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /usr/sbin/asterisk -rx "rpt localplay 42996 /etc/asterisk/scripts/prompt01" Via terminal, I can enter "announcements01" and hear the node play the repeater announcements. My crontab -e is: SHELL=/bin/bash PATH=~/sbin:/bin:/usr/sbin:/usr/bin:/etc/asterisk/scripts MAILTO=root HOME=/ # I have tried all the following script treatments! # m h dom mon dow command * * * * * ./announcements01 * * * * * ./announcements01.sh * * * * * . /announcements01.sh # dot space announcements01.sh * * * * * announcements01.sh # chmod u-x announcements01.sh (to make executable) ------------------------------------------------------------ ------------------------------------------------------- I have used the crontab to pass text to a file every minute..no problems; so cron is running. I am logged into ROOT. Any suggestions as to HOW to get crontab to run my announcements01.sh script would be MUCH appreciated! 73, Duane KA1LM