View Full Version : webstats question
I made the crontab and installed webstats. but at the end of the tutorial I saw this:
Customise this part '0 0 * * *' depends on when you wish to update your statistics. At the moment it is set to update daily at midnight. Enjoy!
I am not sure how I would change this. SAy I wanted for it to update every hour, how would I do this, or just to change the time it is updated at.
* minute--This controls what minute of the hour the command will run on, and is between '0' and '59'
* hour -- This controls what hour the command will run on, and is specified in the 24 hour clock, values must be between 0 and 23 (0 is midnight)
* dom -- This is the Day of Month, that you want the command run on, e.g. to run a command on the 19th of each month, the dom would be 19.
* month-- This is the month a specified command will run on, it may be specified numerically (0-12), or as the name of the month (e.g. May)
* dow --This is the Day of Week that you want a command to be run on, it can also be numeric (0-7) or as the name of the day (e.g. sun).
If you don't want to specify a value for a field, just place a * in the field.
Examples:
01 * * * * --This command is run at one min past every hour
17 8 * * * --This command is run daily at 8:17 am
17 20 * * * --This command is run daily at 8:17 pm
00 4 * * 0 --This command is run at 4 am every Sunday
* 4 * * Sun --So is this
42 4 1 * * --This command is run 4:42 am every 1st of the month
01 * 19 07 * --This command is run hourly on the 19th of July
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.