[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Script for auto-emailing Webalizer statistics

Posted on 2005-04-15
3
Medium Priority
?
162 Views
Last Modified: 2013-12-25
We have a Sun Cobalt Raq4 with Webalizer on it for the virtual sites. Can the daily stats be emailed automatically?
0
Comment
Question by:rutlandict
  • 2
3 Comments
 
LVL 18

Expert Comment

by:kandura
ID: 13811916
a simple cron job should do, really. just

    MAILTO=your@address.here
    @daily cat /webalizer/stats/files/*

is enough.
0
 

Author Comment

by:rutlandict
ID: 13813121
what is a cron job? where is this instruction written?
0
 
LVL 18

Accepted Solution

by:
kandura earned 1000 total points
ID: 13813825
Cron is the unix (and linux, solaris, bsd etc.) version of Windows Scheduled Tasks screen. Except that it's text based.
You edit your personal scheduled tasks with crontab.
Log in to your machine, and type "crontab -e" on  the command line. Then add those two lines, and save. Done!

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question