Crontab archiving

I’ve been checking our archiving output & noticed that every time I check it the visits, etc are shown as ‘0’ archived.

How can that be correct? Please see example output below:

[2013-10-15 08:20:01] Starting Piwik reports archiving…
[2013-10-15 08:20:01] Skipped website id 1, already processed today’s report in recent run, 59 min 59s ago, Time elapsed: 0.001s
[2013-10-15 08:20:01] Skipped website id 2, already processed today’s report in recent run, 14 min 59s ago, Time elapsed: 0.001s
[2013-10-15 08:20:01] Skipped website id 9, already processed today’s report in recent run, 14 min 30s ago, Time elapsed: 0.001s
[2013-10-15 08:20:01] Skipped website id 10, already processed today’s report in recent run, 13 min 45s ago, Time elapsed: 0.001s
[2013-10-15 08:20:01] Done archiving!
[2013-10-15 08:20:01] ---------------------------
[2013-10-15 08:20:01] SUMMARY
[2013-10-15 08:20:01] Total daily visits archived: 0
[2013-10-15 08:20:01] Archived today’s reports for 0 websites
[2013-10-15 08:20:01] Archived week/month/year for 0 websites.
[2013-10-15 08:20:01] Skipped 13 websites: no new visit since the last script execution
[2013-10-15 08:20:01] Skipped 4 websites day archiving: existing daily reports are less than 3600 seconds old
[2013-10-15 08:20:01] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
[2013-10-15 08:20:01] Total API requests: 0
[2013-10-15 08:20:01] done: 0/4 0%, 0 v, 0 wtoday, 0 wperiods, 0 req, 4 ms, no error
[2013-10-15 08:20:01] Time elapsed: 0.004s
[2013-10-15 08:20:01] ---------------------------
[2013-10-15 08:20:01] SCHEDULED TASKS
[2013-10-15 08:20:01] Starting Scheduled tasks…
[2013-10-15 08:20:01] No task to run
[2013-10-15 08:20:01] ]done

Our crontab looks like this:

crontab -e

MAILTO="myemailaddress"
5 * * * * /usr/bin/php5 /var/www/misc/cron/archive.php –
url=http://piwikidomain.com > /home/usr/piwik_archive_output/piwik-archive.log

If anyone can assist with this please let me know.

with thanks
Lynn

that is normal: the second time you run it there is nothing to archive. if you see data in the ui then it is working

Ok, great thanks so much!