diff --git a/config/global.ini.php b/config/global.ini.php index 276d6fcfa66bb1636290c9061aeb291a314740bd..563867e87056bd6f97b898c2e666536f89779a7a 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -365,7 +365,7 @@ default_time_one_page_visit = 0 ; The mapping is defined in core/DataFiles/LanguageToCountry.php, enable_language_to_country_guess = 1 -; When the misc/cron/archive.sh cron hasn't been setup, we still need to regularly run some maintenance tasks. +; When the misc/cron/archive.php cron hasn't been setup, we still need to regularly run some maintenance tasks. ; Visits to the Tracker will try to trigger Scheduled Tasks (eg. scheduled PDF/HTML reports by email). ; Scheduled tasks will only run if 'Enable Piwik Archiving from Browser' is enabled in the General Settings. ; Tasks run once every hour maximum, they might not run every hour if traffic is low. @@ -458,7 +458,7 @@ password = ; Proxy password: optional; if specified, username is mandator logger_error[] = screen logger_exception[] = screen -; if set to 1, only requests done in CLI mode (eg. the archive.sh cron run) will be logged +; if set to 1, only requests done in CLI mode (eg. the archive.php cron run) will be logged ; NOTE: log_only_when_debug_parameter will also be checked for log_only_when_cli = 0 diff --git a/core/Common.php b/core/Common.php index f7d8652ccef65b6b2c1aeae76369bf4046d195ef..39387fafde87ff1b51005f7a379bee58c1551195 100644 --- a/core/Common.php +++ b/core/Common.php @@ -300,7 +300,7 @@ class Piwik_Common * This is useful for users who don't setup the cron, * but still want daily/weekly/monthly PDF reports emailed automatically. * - * This is similar to calling the API CoreAdminHome.runScheduledTasks (see misc/cron/archive.sh) + * This is similar to calling the API CoreAdminHome.runScheduledTasks (see misc/cron/archive.php) * * @param int $now Current timestamp */ diff --git a/misc/cron/archive.sh b/misc/cron/archive.sh index 8aebe093122dc33e8bbdc825a6e5ca2049a5b1ea..189a16a2a015ba00b5bd7d0c79a80e5ae96318ef 100755 --- a/misc/cron/archive.sh +++ b/misc/cron/archive.sh @@ -1,5 +1,8 @@ #!/bin/sh -e +# DO NOT USE: Use archive.php instead. +# SEE DOCS: http://piwik.org/setup-auto-archiving/ +# ======================================================================= # Description # This cron script will automatically run Piwik archiving every hour. # The script will also run scheduled tasks configured within piwik using