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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |