From 703618d1540420d30c256d509fdc1015e8476a6a Mon Sep 17 00:00:00 2001 From: mattpiwik Date: Wed, 28 Jul 2010 22:56:04 +0000 Subject: 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 --- misc/cron/archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/cron/archive.sh') 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 "" -- cgit v1.2.3