I’ve just installed Piwik. While reading the manual I found an area that I believe requires me to set up a cron job. What prompted me to do this was the below comment in the manual.
I receive about 1,000 unique visitors a day, so my visits are over a few hundreds per day. I would like to do what is best, and it is suggested that I automatically archive. I visited this forum and another and I read that Piwik automatically sets up this auto archiving, but then I also read it does not. Can someone confirm whether it does or not? If not then I must set it up.
While following the steps listed in the manual I became confused when I am to set the minutes to 00, but do not know if I have to set the day, the hours, month and day of week. Do I just totally ignore those and as long as I have 00 highlighted in blue and click the ADD button … that is all I need to do in that section?
If someone would be kind enough to offer me a few tips on setting this up I would be grateful. I just need confirmation that my assumptions are correct, and if not would you be so kind to offer the solution? I will be doing this from within my Dreamhost Cpanel while under the Cron Jobs section.
The steps it suggests I follow are:
[quote]It is easy to setup Automatic Archiving if you use a user interface such as CPanel, Webmin or Plesk. Here are the instructions for CPanel:
Login to cpanel in the domain with the install
Click on “Cron Jobs” in the domain with the install
Leave email blank
In ‘Minutes’ put 00 and leave the rest blank.
You then need to paste in the path to the archive.sh file.
Here is an example for a Hostgator install (in this example you would need to change ‘yourcpanelsitename’ to whatever your particular domains cpanel username is)[/quote]
Here are the areas I must fill in for the first steps for the cronjob within my Cpanel in Dreamhost:
Please note I only used capital and bold to make it easier for review
User (LEFT BLANK)
(shell users only!)
Title: (PIWIK ARCHIVE)
A friendly name for this cronjob
Email output to: b[/b]
Leave blank to disable sending emails
Command to run (max 1000 characters): /home/mynicknameonhost/mydomainname/piwik/misc/cron/archive.sh
Is this correct? (of course I will put my correct info into this line)
Use locking: (IS CHECKED)
Prevents this job from running more than once at a time. This is generally a good thing!
When to run: (CUSTOM IS SELECTED)
Minutes: (SET IT TO 00)
Hold ctrl (windows) or command (Mac) to select multiple values:
Hours: (Every Hour?)
Day of Month: (Every Day?)
Month: (Every Month?)
Day of Week: (Every Day of Week?)
[color=#FF0000]Thank you in advance for your help.[/color]