JoomlaPlug!

JoomlaCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
JoomlaCloner - Joomla backup and restore

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: awstats cron
#3465
fonz (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
awstats cron 12 Months ago  
Does anyone know what to use for updating awstats?

I use the following task to run every 15 minutes:

/stats/cgi-bin/awstats.pl -config=www.mysite.com -update 2>&1 /dev/null

Is this right?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3466
admin (Admin)
Admin
Posts: 2468
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:awstats cron 12 Months ago  
You need to add also the perl comamnd to execute the awstats.pl script, so the correct cron command would be

Code:

perl /stats/cgi-bin/awstats.pl -config=www.mysite.com -update 2>&1 /dev/null
Hope it helps! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3467
fonz (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:awstats cron 12 Months ago  
I can update the stats manually by clicking a link in awstats:
http://www.mysite.com/stats/cgi-bin/awstats.pl?framename=mainright&update=1

Would it work if i just added this link using the 'web address' possibility?

And what interval should i use when this site only has a few visitors a day?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3468
admin (Admin)
Admin
Posts: 2468
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:awstats cron 12 Months ago  
If you run it in your browser does it work? And this without having to be logged in into any restricted area? If so, then yes, it will work! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3469
fonz (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:awstats cron 12 Months ago  
Thanks for your quick response!

Clicking the link works. Stats are being updated. No pass access or anything, open to public.

Will it work with any interval, or should i update every hour, every minute or once a day?

This site has only a few visitors a day, and wont get more in the future (That's not my goal anyway).
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3470
admin (Admin)
Admin
Posts: 2468
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:awstats cron 12 Months ago  
Running the cron once a day is sufficient in my opinion! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

Download Joomla

All rights reserved to JoomlaPlug.com ©2006-2008!
Site powered by Joomla!