From 18875894ec046e48e8627a9c1b2158670eea70e9 Mon Sep 17 00:00:00 2001 From: LEZY Thomas Date: Wed, 28 May 2014 18:19:46 +0200 Subject: [ticket/12597] Fix constructor bug and servral doc blocs PHPBB3-12597 --- phpBB/phpbb/console/command/cron/run_all.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'phpBB/phpbb/console') diff --git a/phpBB/phpbb/console/command/cron/run_all.php b/phpBB/phpbb/console/command/cron/run_all.php index e2d235395b..b398e46ab9 100644 --- a/phpBB/phpbb/console/command/cron/run_all.php +++ b/phpBB/phpbb/console/command/cron/run_all.php @@ -53,12 +53,15 @@ class run_all extends \phpbb\console\command\command } /** - * Executes the function. Each cron tasks is executed. - * If option "--verbose" is not seted, there will be no output in case of - * successful execution. + * Executes the function. + * Tries to acquire the cron lock, then runs all ready cron tasks. + * If the cron lock can not be obtained, an error message is printed + * and the exit status is set to 1. + *If the verbose option is specified, each start of a task is printed. + Otherwise there is no output. * - * @param InputInterface input The input stream, unused here - * @param OutputInterface output The output stream, used for printig verbose-mode + * @param InputInterface $input The input stream, unused here + * @param OutputInterface $output The output stream, used for printig verbose-mode * and error information. * @return boolean 0 if all is ok, 1 if a lock error occured */ -- cgit v1.2.1