Networking Forums

Networking Forums > Computer Networking > Linux Networking > executing webalizer from crontab

Reply
Thread Tools Display Modes

executing webalizer from crontab

 
 
Allan Bruce
Guest
Posts: n/a

 
      11-20-2003, 10:00 AM
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
 
 
 
 
P.T. Breuer
Guest
Posts: n/a

 
      11-20-2003, 03:10 PM
Allan Bruce <(E-Mail Removed)> 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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
executing ssh from shell script R C V Linux Networking 3 03-19-2008 07:53 PM
I can't operate crontab jwhan Linux Networking 4 07-05-2004 06:22 AM
executing shortcut from remote pc ted medin Windows Networking 0 04-14-2004 12:00 AM
Executing programs Manfred Nowak Windows Networking 0 03-06-2004 09:34 PM
ifconfig doesn't detect change under crontab Campbell Linux Networking 4 03-05-2004 05:19 PM



1 2 3 4 5 6 7 8 9 10 11