On 21/03/17 00:54, James Greenlee wrote:
Is there a setting somewhere to automatically create logs for the next day or 
does this need to be run manually?  I've found some examples of scripting added 
to CRON for scheduling log generation, but before stepping outside of 
Rivendell, I wanted to make sure I'm not missing something.

Thanks!

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

rdlogmanager --help

should give you some idea of where you want to go.

This is a shell script that works

-------------------------------------------------------------------------

#!/bin/bash
export DISPLAY=:0.0     #<-- solves the display issue
date >/home/rd/advanceLogGeneration.log     #<-- log everything


/usr/bin/rdlogmanager -g -s [name of service] -d [number of days out, 0 is tomorrow] >>/home/rd/advanceLogGeneration.log


-------------------------------------------------------------------------

I run this using cron [crontab -e] in my case at 1am each day for 9 days out.

I have my script send me an email with a copy of the log which alerts me to any problem.

regards

Robert
--
*Communication Consultants*
64 Warner Park Avenue

Laingholm

Auckland 0604

09 8176358

0221693124

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

Reply via email to