Re: Speaktime stop working after uninstalling EchoIRLP


Butch Bussen
 

Yep, Gary's page is a good resource, for old people like me who can't remember how to do the simple things.
73
Butch
WA0VJR
Node 3148
Wallace, ks.

On Wed, 1 May 2013, Winston wrote:

Keith,

Just found this http://www.garymcduffie.com/irlp/crons.html#customcronfc3 and after I action ln -s /home/irlp/.bash_profile /home/irlp/.profile it start working.

Thank you very much for your help anyways.

73s

Winston J88AZ


--- In irlp@..., "Winston" <dokcopy@...> wrote:

Thanks Keith,

Here's the two outputs:

[repeater@localhost ~]$ crontab -l
SHELL=/bin/bash
TERM=xterm
BASH_ENV=/home/irlp/.profile
0 0 1 * * (/home/irlp/scripts/rotatelog > /dev/null 2>&1)
30 3 * * * (/home/irlp/scripts/clean_old_audio > /dev/null 2>&1)
0 3 * * * (/home/irlp/scripts/update_files_cron > /dev/null 2>&1)
0 * * * * (/home/irlp/scripts/process_check > /dev/null 2>&1)
*/15 * * * * (/home/irlp/scripts/ipupdate_cron > /dev/null 2>&1)
0 */6 * * * (/home/irlp/scripts/statupdate_cron > /dev/null 2>&1)
*/30 * * * * (/home/irlp/custom/speaktime >&/dev/null 2>&1)

The last line above is the one in question, I noticed that it is different than the others with the "&"...not sure if that makes the difference. I can change it if you think its an issue.

[root@localhost ~]# crontab -l
*/10 * * * * su - -c "/home/irlp/custom/cwtimer_mon" repeater > /dev/null 2>&1



Winston J88AZ

--- In irlp@..., "Keith VE7GDH" <ve7gdh@> wrote:

Winston J88AZ wrote...

I had speaktime working for over a year now, announcing the
time every 30 minutes but that function stop working after I
uninstalled EchoIRLP. When I send the DTMF to announce
the time that works perfectly but not the schedule 30 minutes.
Here's the content of my custom.crons file
[*/30 * * * * (/home/irlp/custom/speaktime >&/dev/null 2>&1)]
and here's a [PARTIAL] copy of my custom_decode file below.
if [ "$1" = "SP" ] ; then "$CUSTOM"/speaktime ; exit 1 ; fi
DTMF *# causes it to "speak" the time, so the function actually
works. You mentioned what was in your custom.crons file, but
not if it was actually implemented. What do you see when you
enter "crontab -l" ? If it isn't there, do a "update files" to get it
back in there.

Keith VE7GDH
Node 1148

Join IRLP@irlp.groups.io to automatically receive all group messages.