Re: [RDD] Automatic Log Generation

2020-04-25 Thread Andy Cooper
From: marius.wiks...@gmail.comSent: 26 April 2020 01:46To: fylbe...@gmail.comCc: rivendell-dev@lists.rivendellaudio.orgSubject: Re: [RDD] Automatic Log Generation I do this in crontab (crontab -e) like this. # if rivendell

Re: [RDD] Automatic Log Generation

2020-04-25 Thread David Klann
On 4/25/20 6:03 PM, Phil Biehl wrote: Ok, thanks all. I’ll give it a try. Phil On Apr 25, 2020, at 3:53 PM, Marius Wikstøl wrote:  Err, that -p is supposed to be a -g. Mvh Marius And to follow up on the RDCatch idea, you can also create a Macro Cart that runs the Linux command, much

Re: [RDD] Automatic Log Generation

2020-04-25 Thread Phil Biehl
Ok, thanks all. I’ll give it a try. Phil > On Apr 25, 2020, at 3:53 PM, Marius Wikstøl wrote: > >  > Err, that -p is supposed to be a -g. > > Mvh > Marius > On 4/26/20 12:50 AM, Marius Wikstøl wrote: >> I do this in crontab (crontab -e) like this. >> >>> # if rivendell daemons are running,

Re: [RDD] Automatic Log Generation

2020-04-25 Thread Marius Wikstøl
Err, that -p is supposed to be a -g. Mvh Marius On 4/26/20 12:50 AM, Marius Wikstøl wrote: I do this in crontab (crontab -e) like this. # if rivendell daemons are running, create the next days log if it doesn't already exist 0 2 * * * [ "`systemctl is-active rivendell`" == "active" ] &&

Re: [RDD] Automatic Log Generation

2020-04-25 Thread Marius Wikstøl
I do this in crontab (crontab -e) like this. # if rivendell daemons are running, create the next days log if it doesn't already exist 0 2 * * * [ "`systemctl is-active rivendell`" == "active" ] && /usr/local/bin/rdlogmanager -g -t -P -s Production It creates the next day's log at 2 am (if it

Re: [RDD] Automatic Log Generation

2020-04-25 Thread Robert Jeffares
Hi Phil, Rivendell does not have a built in log generation routine. Well it does but you can't run it other then manually But it will run from a script This generates a log for 8 days from today. #!/bin/bash export DISPLAY=:0.0 /usr/bin/rdlogmanager -P -g -s Production -d 7 exit 0 Today is

Re: [RDD] Automatic Log Generation

2020-04-25 Thread Phil Biehl
Thanks for the pointers Andrew. So there is no way to have RDLogManager automatically generate logs? > On Apr 25, 2020, at 12:59 PM, Andrew Pepper wrote: > >  > Phil, > I've found the easiest way is to call a script from crontab. I *think* there > is also a way to do the same from RDCatch,

Re: [RDD] Automatic Log Generation

2020-04-25 Thread Andrew Pepper
Phil, I've found the easiest way is to call a script from crontab. I *think* there is also a way to do the same from RDCatch, but I've never tried it. Here's a link to the wiki that should get you going. http://wiki.rivendellaudio.org/index.php/Creating_logs_from_the_command_line Andrew On Sat,

[RDD] Automatic Log Generation

2020-04-25 Thread Phil Biehl
I have logs working more or less correctly in RDAirplay but I seem to have a problem. When the log runs to the chain event to the next days log, it fails and RDAirplay stops because there is no log to chain to. If there is a log then all is well. How are log automatically generated? Any ideas

Re: [RDD] Automatic Log Generation

2012-11-23 Thread Wayne Merricks
To: User discussion about the Rivendell Radio Automation System Subject: [RDD] Automatic Log Generation Hi all! I'm having a bit of trouble with RDLogManager generating the wrong day's log. RDCatch runs a macro cart each night at 23:30 to generate the next day's log: RN rdlogmanager -g -s WRSADB

Re: [RDD] Automatic Log Generation

2012-11-23 Thread Joseph Matthews
on behalf of Joseph Matthews Sent: Fri 23/11/2012 02:07 To: User discussion about the Rivendell Radio Automation System Subject: [RDD] Automatic Log Generation Hi all! I'm having a bit of trouble with RDLogManager generating the wrong day's log. RDCatch runs a macro cart each night at 23:30

[RDD] Automatic Log Generation

2012-11-22 Thread Joseph Matthews
Hi all! I'm having a bit of trouble with RDLogManager generating the wrong day's log. RDCatch runs a macro cart each night at 23:30 to generate the next day's log: RN rdlogmanager -g -s WRSADB -d 1! What RDLogManager ends up generating is a log for the second day. For example, today is