Re: [RDD] Scheduler automation

2022-08-22 Thread rivdev
Hi Chris,

Yes, we had this scheduled to generate the log four days ahead of time, 
in order to stay well-ahead in case someone needed to be gone for a few 
days.  Our cron job ran at 21:18 local time which was (hopefully) a 
quiet time for other production activity.

Here's the cron entry.  Never encountered any issues with X Windows 
getting in the way.

18 21 * * * /usr/bin/rdlogmanager -g -s WKRP -d 3

Steve

On Mon, Aug 22, 2022 at 04:49:42PM +, chris cottingham wrote:
> Has anyone been able to automate scheduler/log generation? If so, how? 

> 
> I want to autogenerate the next days logs at a specific time each day. 
> I would really like to know how to script it into a cron job or 
> something similar.
> 

> Thanks!!
> 
> Sent from my iPhone
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Scheduler automation

2022-08-22 Thread wa7skg
I use a short bash script to create logs three days out. It runs every 
night. I go a couple days out so people can check the day before to see 
if they need to fix anything.


[rd@khrb_rd1 ~]$ crontab -l
20 02 * * * /home/rd/scripts/LogGen.sh >/dev/null 2>&1

[rd@khrb_rd1 ~]$ less /home/rd/scripts/LogGen.sh
#!/bin/bash

#  Create RD logs for 3rd day
#  change after -s to 

export DISPLAY=:0
/usr/bin/rdlogmanager -g -s KHRB -d 2
exit 0

/home/rd/scripts/LogGen.sh (END)


HTH,
Michael



chris cottingham wrote on 8/22/22 9:49 AM:

Has anyone been able to automate scheduler/log generation? If so, how?

I want to autogenerate the next days logs at a specific time each day. I would 
really like to know how to script it into a cron job or something similar.

Thanks!!


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Scheduler automation

2022-08-22 Thread Kit Haskins
Take a look at:

http://wiki.rivendellaudio.org/index.php/Creating_logs_from_the_command_line



The page discusses the X Windows display issue while running it as a crontab 
also ...



In my specific case I have a service of KRHJ  so I use:

DISPLAY=:0 /usr/local/bin/rdlogmanager -g -s KRHJ



Takes a couple minutes to create the run log for the next day.   So I have mine 
scheduled to run any time before midnight, so the log is there and ready when 
you roll into the next day after midnight ...







---

Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .

mailto:k...@ka0wuc.org



When I was 10, I caught the radio bug, it appears to be over ...







 On Mon, 22 Aug 2022 10:49:42 -0600 chris cottingham 
 wrote ---



Has anyone been able to automate scheduler/log generation? If so, how? 
 
I want to autogenerate the next days logs at a specific time each day. I would 
really like to know how to script it into a cron job or something similar. 
 
Thanks!! 
 
Sent from my iPhone 
___ 
Rivendell-dev mailing list 
mailto:Rivendell-dev@lists.rivendellaudio.org 
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Scheduler automation

2022-08-22 Thread chris cottingham
Has anyone been able to automate scheduler/log generation? If so, how? 

I want to autogenerate the next days logs at a specific time each day. I would 
really like to know how to script it into a cron job or something similar. 

Thanks!!

Sent from my iPhone
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDImport question

2022-08-22 Thread David Henderson
I think it only looks in the folder specified. We have several different 
folders for different types of audio, just make a new dropbox rule for 
each folder, then whenever audio is copied into that folder, it should 
get picked up. If you have told Rivendell to convert from MP3 to WAV 
then it will do that too.


---
Kind regards,

David Henderson

TD9 Radio - Community Radio for Hawick


www.td9radio.online
www.twitter.com/TD9Radio
www.facebook.com/TD9Radio

TD9 Radio is a Scottish Charitable Incorporated Organisation (SCIO) - 
registered with OSCR - SC051870.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RDImport question

2022-08-22 Thread chris cottingham

Will rdimport traverse sub folders? Do I need to have all the audio I want to 
import in the root of the import folder?

It’s my understanding that rdimport will import mp3 files and read the 
metadata. It will also “wrap” the imported mp3 files as a “wav” file. Is this 
true as well?

Thanks!!
Sent from my iPhone
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev