Hi Wayne,
This is absolutely superb...so simple but really effective...it enables
me to be even lazier than I am now!
Great stuff, many thanks.
Tom Dawson
FANTASY RADIO
www.fantasyradio.co.uk
On 04/08/2012 00:57, Wayne Merricks wrote:
Auto Generate Logs
Hi all,
Being the lazy person that I am, I've made a script that runs
rdlogmanager from the command line and then emails off the results
(exceptions to rules etc), the contents of the results are also copied
to a log file stored locally.
By default, it produces a log 3 days in advance and I have cron set to
run every day. That way I've got a 3 day buffer of logs which gets me
over the weekends when some people might not be at work to check the
exceptions.
File attached if its any use to anyone. If you want the email to work
you'll need to install mail-utils (uses sendmail) under ubuntu/debian
and set it up for an "Internet site" with all the defaults.
Be aware that if you're emailing externally and you're on a home IP
address you'll be spam blocked as most ISPs block home email by default.
You really need an MX record and a business contract to stop this
happening. For internal use across a LAN it works fine without any of
this mind.
--
Wayne Merricks
The Voice Asia
------------------------------------------------------------------------
Scanned by *MailMarshal*
**
------------------------------------------------------------------------
------------------------------------------------------------------------
*Attention: *
The information contained in this message is confidential and intended
for the addressee(s) only. If you have received this message in error
or there are any problems, please notify the originator immediately. The
unauthorised use, disclosure, copying or alteration of this message is
strictly forbidden. Christian Vision or any of its subsidiaries will
not be liable for direct, special, indirect or consequential damages
arising from alteration of the contents of this message by a third
party or as a result of any virus being passed on. Please note that we
reserve the right to monitor and read any e-mails sent or received by
the company under the Telecommunications (Lawful Business Practice)
(Interception of Communications) Regulation 2000. Christian Vision is
registered in England as a limited company 2842414 and as a charity
1031031
------------------------------------------------------------------------
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev