[S.u.S.E. Linux] cron
While I am reading up on cron, perhaps someone could save me the time and tell me briefly how I could have cron mail my /var/log/httpd.access_log to root every 24 hrs and start a new one. Thanks in advance. -- ==================================================================== Michael Lankton <A HREF="http://tasteslikechicken.ml.org"><A HREF="http://tasteslikechicken.ml.org</A">http://tasteslikechicken.ml.org ==================================================================== - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Michael Lankton wrote:
While I am reading up on cron, perhaps someone could save me the time and tell me briefly how I could have cron mail my /var/log/httpd.access_log to root every 24 hrs and start a new one. Thanks in advance.
Gezz, ya get a cable modem and next thing you know you need to keep track of your logs. ;-) (speed envy showing here..!) I believe there is a Perl script out there called CheckLog that would work, and from there you could modify it. I just tried finding a url, but no go. Dana - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
If you are concern about hacks, what you might want to check regularly is the /var/log/messages as well (assuming default system configuration). What you might want to do to save you time going through the whole /var/log/messages file is to move authpriv and auth logging to something like /var/messages/security . Read 'man syslog.conf' for more info. Regards, C. J. Tan On Mon, 29 Jun 1998, Dana J. Laude wrote:
Michael Lankton wrote:
While I am reading up on cron, perhaps someone could save me the time and tell me briefly how I could have cron mail my /var/log/httpd.access_log to root every 24 hrs and start a new one. Thanks in advance.
Gezz, ya get a cable modem and next thing you know you need to keep track of your logs. ;-) (speed envy showing here..!)
I believe there is a Perl script out there called CheckLog that would work, and from there you could modify it. I just tried finding a url, but no go.
Dana - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
------------------------------------------------------------------------------ C. J. Tan E-mail: cjtan@acm.org Telephone: 1-403-220-8038 tanc@cuug.ab.ca 1-403-606-4257 URL: <A HREF="http://www.cuug.ab.ca/~tanc"><A HREF="http://www.cuug.ab.ca/~tanc</A">http://www.cuug.ab.ca/~tanc Facsimile: 1-403-284-1980 "An engineer made programmer is one who attempts to solve a problem, A programmer made engineer is one who knows how to solve a problem." ------------------------------------------------------------------------------ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Read the following: /usr/doc/Books/LDP/install-guide-2.3.dvi man mail Will be easier if you were to write a script which will send you the log file, and delete or move it, then just get cron to execute the script from cron. Regards, C. J. Tan On Mon, 29 Jun 1998, Michael Lankton wrote:
While I am reading up on cron, perhaps someone could save me the time and tell me briefly how I could have cron mail my /var/log/httpd.access_log to root every 24 hrs and start a new one. Thanks in advance. -- ==================================================================== Michael Lankton <A HREF="http://tasteslikechicken.ml.org"><A HREF="http://tasteslikechicken.ml.org</A">http://tasteslikechicken.ml.org ==================================================================== - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
------------------------------------------------------------------------------ C. J. Tan E-mail: cjtan@acm.org Telephone: 1-403-220-8038 tanc@cuug.ab.ca 1-403-606-4257 URL: <A HREF="http://www.cuug.ab.ca/~tanc"><A HREF="http://www.cuug.ab.ca/~tanc</A">http://www.cuug.ab.ca/~tanc Facsimile: 1-403-284-1980 "An engineer made programmer is one who attempts to solve a problem, A programmer made engineer is one who knows how to solve a problem." ------------------------------------------------------------------------------ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
dana@ntd.net
-
satan3@home.com
-
tanc@cuug.ab.ca