[arm-allstar] crontab editing on BBB asterisk v1.2.1 and rx audio capture - recording
Doug Crompton
doug at crompton.com
Mon May 18 14:10:05 EST 2015
Neil,
Do a 'cd' at the linux prompt cd with nothing after it. This will put you in the root home directory. Then edit the file called .bash_profile - dot bash underscore profile
Here is an example -
alias ls="ls --color"
alias ll="ls -lias"
alias l="ls -CF"
alias la="ls --color -a"
alias cp='cp -iv'
alias rm='rm -iv'
alias mv='mv -iv'
alias nslookup='nslookup -silent'
export EDITOR=/usr/bin/nano
# source the allstar variables
End of example
Skip to after the alias lines and add the line
export EDITOR=/usr/bin/nano
When you reboot the nano editor should be the default for crontab -e
I will answer your second question in another message.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: k8it at cac.net
To: fred at fmeco.com; arm-allstar at hamvoip.org
Date: Mon, 18 May 2015 14:37:37 -0400
Subject: Re: [arm-allstar] crontab editing on BBB asterisk v1.2.1 and rx audio capture - recording
Chris and Fred and others....
I got crontab modified ok but still do not know the name
of the system profile filename to make the default editor choice permanent. I am
running on a beagle bone black asterisk v1.2.1
Also is there a script or function that can record
received audio and then let me pipe it to TTS_Audio.sh
the idea is to create a dtmf callable function
macro that captures received audio on the local simplex rf frequency,
convert it to digital audio and plays it back. The cats meow implementation
would help simplex link users set their audio properly
73 Neil K8IT node Allstar 41838 and
Echolink K8IT-L
From: Fred Moore
Sent: Monday, May 18, 2015 9:24 AM
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] crontab editing on BBB asterisk
v1.2.1
"export" will only carry the shell variable till the next time
the shell is restarted, or the system rebooted, to make it permanent, it needs
to be placed in your profile (you only) or the system profile if you want it to
apply to all users.
Not knowing what shell you are using.. something
like
echo "export EDITOR=nano" >> ~/.bashrc
will make it
permanent. The name of your profile file will change depending on what
shell you are using.. . Run a "ls -a" so you can see what hidden file you
have in your home directory.. Fred
On 5/18/15 8:41 AM, Christopher Kovacs
wrote:
Hi Neil,
Use the following command to set your default browser:
export EDITOR=nano
This will allow you to set the editor of your choosing. If you used
contab -e, it will use this edtor. When the crontab is saved, the syntax
is checked and valided before saving. You will not need to restart
crond, as it will pick up the entries when they are saved.
Another userful crontab command is:
crontab -l
This lists the crontab entry.
73,
Chris, w0anm
On Sun, May 17, 2015 at 11:50 PM, Neil k8it <k8it at cac.net> wrote:
I have been doing some reading about how to edit crontab but need some
specific information on how to edit crontab on a bbb running asterisk
v1.2.1
my questions
1. what's the easiest way to schedule and edit the crontab file?
for a non wx task!
2. if I use crontab -e will it default or can I set the editor to
nano?
3. how do I restart the cron file?
do I reboot ? or do I need to issue a special
commands?
thanks 73 k8it Allstar node 41838 echolink k8it-L
_______________________________________________
arm-allstar
mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit
the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be
clean.
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
--
Fred Moore
email: fred at fmeco.com
fred at safes.com
phone: 321-217-8699
_______________________________________________
arm-allstar
mailing
list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit
the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-----
No virus found in this message.
Checked by AVG -
www.avg.com
Version: 2015.0.5941 / Virus Database: 4342/9808 - Release Date:
05/18/15
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150518/faee0434/attachment-0001.html>
More information about the arm-allstar
mailing list