Interesting.. two questions:
1) what are consequences of 'export DISPLAY'? Will people sitting on the
computer see anything popping up on the screen while generating?
2) in your crontab file unse which user you launch the command? I read
somewhere it needs to be the user who is running X session (which isn't my
rivendell owner user).

Alessio


2013/11/13 Lee Baker <[email protected]>

> Hi Alessio, I use an .sh script to auto create logs which is scheduled as
> a cron job see below
>
>
>
> #!/bin/bash
>
> LOGFILE=/var/log/rdimport/rdlogimport_`date +%F`.txt
>
> echo Starting Log Import > $LOGFILE
>
> export DISPLAY=:0.0
>
> /usr/bin/rdlogmanager -g -m -s NOA -d 0 1>> $LOGFILE
>
> echo Finished >> $LOGFILE
>
> exit 0
>
>
>
> this is creates a log file which shows the exceptions found and saves as a
> .txt file.
>
>
>
> Hope this helps.
>
>
>
> Cheers,
>
> Lee
>
>
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Alessio
> Elmi
> *Sent:* Wednesday, 13 November 2013 8:44 AM
> *To:* User discussion about the Rivendell Radio Automation System
> *Subject:* [RDD] Log generation error report
>
>
>
> Hi,
>
> we use to generate logs via RDCatch every day with a simple macro cart and
> we're happy with it.
>
> We now would like to monitor a bit exceptions found by rdlogmanager, like
> artist separations rule and so on.. Is there a report with that? I remember
> when I used to test logs by hand that rdlogmanager prompt with a 'vi'
> window with all exceptions reported.
>
> Is there a way to tell rdlogmanager to write a file similar to that
> everyday?
>
> Thank you
>
>
>
> Alessio
>
>
>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to