executing webalizer from crontab

Discussion in 'Linux Networking' started by Allan Bruce, Nov 20, 2003.

  1. Allan Bruce

    Allan Bruce Guest

    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, Nov 20, 2003
    #1
    1. Advertisements

  2. Allan Bruce

    P.T. Breuer Guest

    This line is illegally formatted. The "root" is incorrect.
    Not surprising.
    Yes. You do.

    Peter
     
    P.T. Breuer, Nov 20, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.