FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having aliitle trouble getting rid of an error, thinking the olny thing i got to do is the cronjob hoping that will fix the the error message on top of my FTP and Mail stats
Never updated (See 'Build/Update' on awstats_setup.html page)
TT
Last edited by tommytomato; 09-12-2004 at 06:15 AM.
does this look right ?
0 2 * * * /usr/local/awstats/tools ./awstats_updateall.pl
are you trying to run
/usr/local/awstats/tools/awstats_updateall.pl?
If this is the case, then the above cron entry is wrong.
OR are you trying to
cd to /usr/local/awstats/tools and then run the pl script?
In this case, you should
cd /usr/local/awstats/tools && ./awstats_updateall.pl
but /usr/local/awstats/tools/awstats_updateall.pl does the same thing
Can you tell us how you would run the awstats_updateall.pl from the command line?
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 967
Original Poster
Rep:
Thank you
Just a question is that going to email me every time it updates,
i think i set it to every 2 hours i wanted to test it first to see if it was going to do it.
if you get my dift.
here is what i have
TT
Last edited by tommytomato; 09-12-2004 at 09:57 AM.
Just a question is that going to email me every time it updates,
i think i set it to every 2 hours i wanted to test it first to see if it was going to do it.
No, actually the script will run at 2 am everyday. If you want it to run every 2 hours, change it as
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 967
Original Poster
Rep:
Using this
crontab -e
this is what i got back today from the cron mail
----- awstats_updateall 1.0 (build 1.9) (c) Laurent Destailleur -----
awstats_updateall launches update process for all AWStats config files (except
awstats.model.conf) found in a particular directory, so you can easily setup a
cron/scheduler job. The scanned directory is by default /etc/awstats.
Usage: awstats_updateall.pl now [options]
Where options are:
-awstatsprog=pathtoawstatspl
-configdir=directorytoscan
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.