Yep, Gary's page is a good resource, for old people like me who can't remember how to do the simple things.
toggle quoted messageShow quoted text
On Wed, 1 May 2013, Winston wrote:
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.
--- In irlp@..., "Winston" <dokcopy@...> wrote:
Here's the two outputs:
[repeater@localhost ~]$ crontab -l
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
--- 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.DTMF *# causes it to "speak" the time, so the function actually
if [ "$1" = "SP" ] ; then "$CUSTOM"/speaktime ; exit 1 ; fi
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.