The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cron for awstat ?

Discussion in 'General Discussion' started by Sopos, May 27, 2003.

  1. Sopos

    Sopos Well-Known Member

    Joined:
    Nov 16, 2001
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Hello,
    I thinked that awstat & webalizer will schedule for the morning at 4am, but I see that there is some awstat process in the afternoon.
    Is there a way to schedule them in the early morning ?
    awstat take a lot of cpu and during afternoon the server go too up with cpu.

    Any idea ?

    Thank you

    cPanel.net Support Ticket Number:
     
  2. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    Here is an example of lines you can add in the cron file:

    To run update every day at 04:00, use :
    0 4 * * * /opt/awstats/wwwroot/cgi-bin/awstats.pl
    -config=mysite -update
    To run update every hour, use :
    0 * * * * /opt/awstats/wwwroot/cgi-bin/awstats.pl
    -config=mysite -update


    http://awstats.sourceforge.net/docs/awstats_faq.html#CRONTAB

    John

    cPanel.net Support Ticket Number:
     
    #2 pingo, Jun 4, 2003
    Last edited: Jun 4, 2003
  3. Serverplan

    Serverplan Active Member
    PartnerNOC

    Joined:
    Dec 28, 2002
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    is there any way to make a cron that will update all user account on the server?

    thx

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page