Welcome Andrejs,
http://wiki.rivendellaudio.org/
is a great place to start.
Logs are created using RDLOGMANAGER and will have a CHAIN command at the
end if you have checked the 'chain to' box in RIVENDELL >
CONFIGURATION RDADMIN > MANAGE SERVICES > EDIT SERVICE.
Making sure the log rolls over at midnight can be achieved in a number
of ways.
I place a timed event just before midnight with one song after it which
works for me. If you have a 'news on the hour' format you may use
another shell script to force the issue.
You need to become familiar with CRON, CRONTAB, and Shell Scripts in bash.
lots of info on line about all of these.
Log creation is manual but can be automated with a shell script.
--------------------------------------------------------- snip
---------------------------------------------------------------
#!/bin/bash
export DISPLAY=:0.0
date >/home/rd/advanceLogGeneration.log
$hostname >>/home/rd/advanceLogGeneration.log
#make log for Production
/usr/bin/rdlogmanager -g -s Production -d 8
>>/home/rd/advanceLogGeneration.log
#clean up log perms and put in one place
chown rd:users /home/rd/*.log
# send a report
cat /home/rd/advanceLogGeneration.log |mail -s "$(hostname) Log Report"
[email protected]
exit 0
--------------------------------------------------------- snip
---------------------------------------------------------------
The originator called it sustainLogGen.sh
The help file explains
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.
regards
Robert Jeffares
On 5/05/20 4:39 am, [email protected] wrote:
Hello, everybody.
I'm new to Rivendell.
I would ask to help.
Is it possible to preload log in Rivendell.
How to make, that at night when the log is playing, when 20 seconds
are left until the end, the next day log is preloaded.
--
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