Actually you already answered my question, thanks.  :) 

Regards,

Jeff

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sose Canadian
Sent: April 29, 2005 2:29 PM
To: Support for analog web log analyzer
Subject: RE: [analog-help] emailing

Hi Jeremy,
Thanks for responding, do I insert "analog +O +a" info a crontab file?
I'm new at this and not all that bright. :) 

Jeff
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Wadsack
Sent: April 25, 2005 4:57 PM
To: Support for analog web log analyzer
Subject: Re: [analog-help] emailing


Cron normally sends any output from a command to the mail account of the
user under which the job runs. So just set Analog to write to STDOUT[1]
("-" is often used in Unix to represent standard in and standard out):

    analog +O-

You may have to do some fancy wrapping though, to make a MIME-compatible
HTML email (consider Perl[2] or Python where libraries are available to
do 90% of the work).

It might be much simpler to just send a text formatted[3] email:

    analog +O- +a

--
Jeremy Wadsack
Seven Simple Machines



[1] http://analog.cx/docs/output.html#OUTFILE
[2]
http://www.alianwebserver.com/informatique/languages/perl/MIME/Lite/HTML
.html
[3] http://analog.cx/docs/output.html#outstyle

Sose Canadian wrote:

>Hi,
>I would like to write a crontab which would send an email with the 
>results of the analog in html format.  What would the syntax be?  My 
>Unix skills are beyond beginner.
>
>
>Jeff
>
>  
>

+-----------------------------------------------------------------------
-
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+-----------------------------------------------------------------------
-

+-----------------------------------------------------------------------
+-
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+-----------------------------------------------------------------------
+-

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to