Thank you very much, you've been very helpful. It's working for me now.


Regards,

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

Well, try 'man crontab' for more info on writing crontab entries -- you
need to spec the schedule as well.

The command I gave was an example of using command-line arguments, but
you'll want to check that your configuration already does everything
else you want in the reports. Also note that the option "+O-" needs to
have the "-" to signify standard out (which cron will send to the email
account).

There's more info on command-line args to analog scattered throughout
the docs. Also a list of them is under Command-line Arguments in the
index:
   
    http://analog.cx/docs/indx.html#C


--
Jeremy Wadsack
Seven Simple Machines



Sose Canadian wrote:

>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/HTM
L
>.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
+------------------------------------------------------------------------

Reply via email to