Re: [RDD] How to a bash script from a macro cart

2021-02-09 Thread drew Roberts
In case anyone ever has a lot of files in one format that they need in the other: $ yum search unix2dos tofrodos.x86_64 : Converts text files between MSDOS and Unix file formats https://en.wikipedia.org/wiki/Unix2dos all the best, drew On Tue, Feb 9, 2021 at 2:56 AM Jesse Jones wrote: >

Re: [RDD] How to a bash script from a macro cart

2021-02-08 Thread drew Roberts
Jesse, I did not see any requests in IRC but I was out of the channel without realising it for a time. Let's see if I can give a few hints as to what does run for me and see if that will be enough to get something working for you. I have a macro cart with these lines: 001: RN

Re: [RDD] How to a bash script from a macro cart

2021-02-08 Thread Jesse Jones
Thanks yall - it's working! What I Have Learned In /etc/rd.conf the Audio Owner and the RnRmlOwner need to be "rd" or the linux user of the Rivendell automation ---and--- The syntax of the RN line needs to include the ./ at the beginning of the path to the script ---and--- The script needs to be

Re: [RDD] How to a bash script from a macro cart

2021-02-08 Thread Mike Carroll
Your RN command shows just the script name. Does it make a difference if you code the entire path? For example, we have a macro cart with: RN /usr/local/bin/getuc.sh ! (We're still Riv2, so that may also be a factor.) Mike On Sat, Feb 6, 2021 at 8:21 PM Jesse Jones wrote: >I am sure I

Re: [RDD] How to a bash script from a macro cart

2021-02-07 Thread drew Roberts
Jessee, if you don't get this sorted by tomorrow, look for me in IRC and I will see if I can help. all the best, drew On Sun, Feb 7, 2021 at 3:57 PM Jesse Jones wrote: > The Goal is to run bash scripts from inside macrocarts using RDCatch to do > such things as run a backup of the database

Re: [RDD] How to a bash script from a macro cart

2021-02-07 Thread Emisora Regional
In rd.conf what should change the Audio Owner = your user and RnRmlOwner = your user.  Only that.  Save rd.conf and restart the Rivendell services.Octavio Halleemisoraregional.comEl 7 feb. 2021 5:19 p.m., Jesse Jones escribió:The Goal is to run bash scripts from inside macrocarts using RDCatch to

Re: [RDD] How to a bash script from a macro cart

2021-02-07 Thread Jesse Jones
The Goal is to run bash scripts from inside macrocarts using RDCatch to do such things as run a backup of the database and do rsync between the "On Air" machine and a "warm standby" plus other "odd jobs". The script(s) run from terminal using /bin/sh script.sh but not in the macro "RN script.sh!

Re: [RDD] How to a bash script from a macro cart

2021-02-07 Thread Emisora Regional
Hi.  Edit the /etc/rc.conf file and make sure that in the line referring to RML ... the user is the one you are using to run the macro.  RegardsOctavio HalleEmisora RegionalEl 7 feb. 2021 1:21 a.m., Jesse Jones escribió:   I am sure I am making this harder than it has to be - but I am having

[RDD] How to a bash script from a macro cart

2021-02-06 Thread Jesse Jones
I am sure I am making this harder than it has to be - but I am having trouble running a bash SCRIPT from inside a macro cart. I had hoped to use RDCatch to run the script. The script is executable via CLI/terminal using the line /bin/sh script.sh so I have the permissions ok and all that.