aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/cron.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 92fef57623..7c9ab23bdb 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -36,10 +36,15 @@ function output_image()
function do_cron($run_tasks)
{
- global $cron_lock;
+ global $cron_lock, $config;
foreach ($run_tasks as $task)
{
+ if (defined('DEBUG_EXTRA') && $config['use_system_cron'])
+ {
+ echo "[phpBB cron] Running task '{$task->get_name()}'\n";
+ }
+
$task->run();
}
@@ -111,6 +116,6 @@ else
{
if (defined('DEBUG_EXTRA'))
{
- echo "Could not obtain cron lock.";
+ echo "Could not obtain cron lock.\n";
}
}