executing webalizer from crontab

This is a discussion on executing webalizer from crontab within the Linux Networking forums, part of the Linux Forums category; I am trying to make webalizer run once every hour by placing an entry in my crontab. I edit my ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-20-2003
Allan Bruce
 
Posts: n/a
Default executing webalizer from crontab

I am trying to make webalizer run once every hour by placing an entry in my
crontab. I edit my crontab by typing

crontab -e

then add the following line

0 * * * * root /usr/local/bin/webalizer

but Webalizer does not update the stats, so I tried

0 * * * * root /usr/local/bin/webalizer | mail allan

to ensure that it was attempting and every hour. I get a blank mail, but
webalizer still doesnt update the stats.
Does anybody know what I`m doing wrong?

Thanks
Allan


Reply With Quote
  #2 (permalink)  
Old 11-20-2003
P.T. Breuer
 
Posts: n/a
Default Re: executing webalizer from crontab

Allan Bruce <allanmb@takeawayf2s.com> wrote:
> I am trying to make webalizer run once every hour by placing an entry in my
> crontab. I edit my crontab by typing


> crontab -e


> then add the following line


> 0 * * * * root /usr/local/bin/webalizer


This line is illegally formatted. The "root" is incorrect.

> but Webalizer does not update the stats, so I tried


> 0 * * * * root /usr/local/bin/webalizer | mail allan


> to ensure that it was attempting and every hour. I get a blank mail, but


Not surprising.

> webalizer still doesnt update the stats.
> Does anybody know what I`m doing wrong?


Yes. You do.

Peter
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0