cron sendmail output

Chris Allison chris.charles.allison at gmail.com
Thu Aug 1 05:35:07 EDT 2013


I use:

grep "INFO: Recorded" pvr.log

which gives one line per recorded programme. pvr.log is where the
output from get_iplayer is redirected to.

regards

Chris

On 1 August 2013 10:13, ross <the.ross.bradley at gmail.com> wrote:
>
> Hi,
>
> I have recently setup a cron job to take care of all my get_iplayer pvr
> needs.
> This setup is not very elaborate, but works as expected.
>
> Currently at the end of the cron job i use ssmtp to send it's output.
> I understand that this email is just the output of the command as if
> run from the cli.
>
> I would however like to know whats been downloaded in a more compact
> way. Without the verbose output of the command.
>
> I was thinking about getting this info from the
> ~/.get_iplayer/download_history ... but then how to email? before
> getting into complicated tail, loop, awk and sed scripts then pushing
> to ssmtp, is there an inbuilt way?
>
>
> What are other people doing here?
>
>
> --
> sco
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
 _          o  ,   ,
/   |  |  |_| / \_/ \_|  |
\__/ \/ \/  |/ \/  \/  \/|/
                        (|



More information about the get_iplayer mailing list