Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    306
    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:
    428
    Likes Received:
    0
    Trophy Points:
    166
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    151
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice