diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-29 02:56:04 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-29 02:56:04 +0400 |
commit | 703618d1540420d30c256d509fdc1015e8476a6a (patch) | |
tree | 4a5507f1211a53405b9b754a41a6cb73ba91404f /misc/cron/archive.sh | |
parent | 37bda492495e3bbdf385a71bc7f131e505936b35 (diff) |
Fixes #587
* Adding automatic crontab task triggered from Tracking requests on piwik.php.
* Define max frequency in config file, default to 1 try each hour.
* Will not run if 'Browser archiving' is disabled, as it means the cron is already setup, and it will run scheduled tasks.
* Note that Scheduled tasks only do not necessarily trigger archiving. The user might still experience slow loading time if he loads Piwik after a long absence.
We could consider writing a scheduled tasks that triggers archiving daily for each website
git-svn-id: http://dev.piwik.org/svn/trunk@2767 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'misc/cron/archive.sh')
-rw-r--r-- | misc/cron/archive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cron/archive.sh b/misc/cron/archive.sh index 4074049798..d820419af3 100644 --- a/misc/cron/archive.sh +++ b/misc/cron/archive.sh @@ -84,7 +84,7 @@ echo "Reports archiving finished." echo "Starting Scheduled tasks..." echo "" - CMD="$PHP_BIN -q $PIWIK_PATH -- module=API&method=CoreAdminHome.runScheduledTime&format=csv&convertToUnicode=0&token_auth=$TOKEN_AUTH"; + CMD="$PHP_BIN -q $PIWIK_PATH -- module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=$TOKEN_AUTH"; $CMD echo "Finished Scheduled tasks." echo "" |