diff options
author | David Rothstein <drothstein@gmail.com> | 2013-12-30 14:28:14 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-12-30 14:28:14 -0500 |
commit | e868ee8451d1778a405a730f19292538de6d7921 (patch) | |
tree | 18cde7d1f3d710f48e8154c32cb9781caf78a37f /modules/system | |
parent | 226fe6997057f1b2b58116e7bc35ffbcbaed726c (diff) | |
download | brdo-e868ee8451d1778a405a730f19292538de6d7921.tar.gz brdo-e868ee8451d1778a405a730f19292538de6d7921.tar.bz2 |
Issue #2136369 by marvil07: Provide a way to avoid processing a queue during cron execution.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 276dbca18..f54078b6d 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -610,6 +610,9 @@ function hook_cron() { * with one argument, the item created via DrupalQueue::createItem(). * - 'time': (optional) How much time Drupal should spend on calling this * worker in seconds. Defaults to 15. + * - 'skip on cron': (optional) Set to TRUE to avoid being processed during + * cron runs (for example, if you want to control all queue execution + * manually). * * @see hook_cron() * @see hook_cron_queue_info_alter() |