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 -1 tomorrow is 0 [the default]

You do need the DISPLAY

I run this as sustainLogGen.sh every day at 0015 and I have various versions of the script to cover times when we reformat and need to generate a week's logs.

In our case the logs are relocated to a remote system and the one week buffer covers outages.


rdlogmanager --help

rdlogmanager [-P] [-g] [-m] [-t] [-r <rpt-name>] [-d <days>] [-e <days>] -s <svc-name>

-P
     Do not overwrite existing logs or imports.

-g
     Generate a new log for the specified service.

-m
     Merge the Music log for the specified service.

-t
     Merge the Traffic log for the specified service.

-r <rpt-name>
     Generate report <rpt-name>.

-d <days>
     Specify a start date offset.  For log operations, this will be added
     to tomorrow's date to arrive at a target date, whereas for report
     operations it will be added to yesterday's date to arrive at a target
     date.  Default value is '0'.

-e <days>
     Specify an end date offset.  This will be added to yesterday's date
     to arrive at a target end date.  Valid only for certain report types.
     Default value is '0'.

-s <service-name>
     Specify service <service-name> for log operations.











trgards

Robert


On 26/04/20 7:34 am, Phil Biehl wrote:
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 why it isn’t getting generated?

Thanks all,Phil



_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to