diff options
author | LEZY Thomas <thomas.gif.91@gmail.com> | 2014-05-28 18:19:46 +0200 |
---|---|---|
committer | LEZY Thomas <thomas.gif.91@gmail.com> | 2014-05-28 18:19:46 +0200 |
commit | 18875894ec046e48e8627a9c1b2158670eea70e9 (patch) | |
tree | 3748d60b83e0a1fee67c6684ac40b523fd24128b /phpBB/phpbb/console/command | |
parent | 0d839cbefc19247fd2b4c1132b91083bf0983305 (diff) | |
download | forums-18875894ec046e48e8627a9c1b2158670eea70e9.tar forums-18875894ec046e48e8627a9c1b2158670eea70e9.tar.gz forums-18875894ec046e48e8627a9c1b2158670eea70e9.tar.bz2 forums-18875894ec046e48e8627a9c1b2158670eea70e9.tar.xz forums-18875894ec046e48e8627a9c1b2158670eea70e9.zip |
[ticket/12597] Fix constructor bug and servral doc blocs
PHPBB3-12597
Diffstat (limited to 'phpBB/phpbb/console/command')
-rw-r--r-- | phpBB/phpbb/console/command/cron/run_all.php | 13 |
1 files changed, 8 insertions, 5 deletions
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 */ |